mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
fix ViewBase loading check
This commit is contained in:
parent
8f7ebbbb26
commit
7cd07ebd39
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue