mirror of https://github.com/bastienwirtz/homer
Update src/components/services/Emby.vue
Co-authored-by: Bastien Wirtz <bastien.wirtz@gmail.com>pull/410/head
parent
cd1fc28f51
commit
1275a8cce5
|
@ -62,7 +62,7 @@ export default {
|
||||||
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 throw new Error();
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
|
|
Loading…
Reference in New Issue