[Modals] Refactoring

This commit is contained in:
Matej Glasnák committed 2023-01-31 15:27:44 +01:00
1 parent 0a038b7771
commit aaafb6534c
7 files changed
+40 -51

No files matched your search

@@ -1,5 +1,5 @@
<template>
<div>
<div ref="loadingContainer">
<div v-if="!content"></div>
<div v-else-if="content.error">{{ content.error }}</div>
<div v-else-if="(typeof content == 'array' && !array.length) || (typeof content == 'object' && !Object.values(content).length)">{{ emptyMessage }}</div>
@@ -32,6 +32,7 @@ export default {
methods: {
async _startLoading() {
// Kravarik: toto hadze tie warny v konzole. Fixnut
this.loader = await this.$loading.show()
},