This commit is contained in:
Matej Glasnák committed 2023-02-15 16:02:04 +01:00
1 parent 8404567f9e
commit b5133eadf0
2 files changed
+26 -17

No files matched your search

@@ -33,22 +33,22 @@ export default {
methods: {
async _startLoading() {
this.loader = await this.$loading.show()
// this.loader = await this.$loading.show()
},
_stopLoading() {
this.loader?.hide()
// this.loader?.hide()
}
},
watch: {
content(value) {
if (value) {
this._stopLoading()
}
else
this._startLoading()
}
// content(value) {
// if (value) {
// this._stopLoading()
// }
// else
// this._startLoading()
// }
}
}
</script>