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")
|
||||
.then((response) => {
|
||||
if (response.Id) this.status = "running";
|
||||
else this.status = "dead";
|
||||
else throw new Error();
|
||||
})
|
||||
.catch((e) => {
|
||||
console.log(e);
|
||||
|
|
Loading…
Reference in New Issue