mirror of
https://github.com/bastienwirtz/homer.git
synced 2025-06-27 13:12:07 +02:00
Removed await from api call
This commit is contained in:
parent
5c42d50d47
commit
cd1fc28f51
@ -59,7 +59,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fetchServerStatus: async function () {
|
fetchServerStatus: async function () {
|
||||||
await this.fetch("/System/info/public")
|
this.fetch("/System/info/public")
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
if (response.Id) this.status = "running";
|
if (response.Id) this.status = "running";
|
||||||
else this.status = "dead";
|
else this.status = "dead";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user