fixed loading flag
This commit is contained in:
parent
3710591edd
commit
ec788d6a30
@ -488,12 +488,12 @@ export default defineComponent({
|
|||||||
.then((response) => handleResponse(response, this.$emitter, this.$router))
|
.then((response) => handleResponse(response, this.$emitter, this.$router))
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
this.liveData = data;
|
this.liveData = data;
|
||||||
this.dataLoading = false;
|
|
||||||
fetch("/api/database", { headers: authHeader() })
|
fetch("/api/database", { headers: authHeader() })
|
||||||
.then((response) => handleResponse(response, this.$emitter, this.$router))
|
.then((response) => handleResponse(response, this.$emitter, this.$router))
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
this.dataBase.values = data;
|
this.dataBase.values = data;
|
||||||
this.dataBase.valid_data = true;
|
this.dataBase.valid_data = true;
|
||||||
|
this.dataLoading = false;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user