mirror of https://github.com/bastienwirtz/homer
Removed await from api call
parent
5c42d50d47
commit
cd1fc28f51
|
@ -59,7 +59,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
fetchServerStatus: async function () {
|
||||
await this.fetch("/System/info/public")
|
||||
this.fetch("/System/info/public")
|
||||
.then((response) => {
|
||||
if (response.Id) this.status = "running";
|
||||
else this.status = "dead";
|
||||
|
|
Loading…
Reference in New Issue