fix ViewBase loading check

This commit is contained in:
axolotle 2022-01-31 15:29:38 +01:00
parent 8f7ebbbb26
commit 7cd07ebd39

View file

@ -41,7 +41,7 @@ export default {
data () { data () {
return { return {
fallback_loading: this.loading === null && this.fetch !== null ? true : null fallback_loading: this.loading === null && this.queries !== null ? true : null
} }
}, },
@ -57,7 +57,7 @@ export default {
}, },
methods: { methods: {
fetchQueries (triggerLoading = false) { fetchQueries ({ triggerLoading = false } = {}) {
if (triggerLoading) { if (triggerLoading) {
this.fallback_loading = true this.fallback_loading = true
} }