mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Restart needs to be called with ApiClient
This commit is contained in:
parent
9677981344
commit
8f84b023aa
1 changed files with 1 additions and 1 deletions
|
@ -750,7 +750,7 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
|
||||||
var page = dom.parentWithClass(btn, "page");
|
var page = dom.parentWithClass(btn, "page");
|
||||||
buttonEnabled(page.querySelector("#btnRestartServer"), false);
|
buttonEnabled(page.querySelector("#btnRestartServer"), false);
|
||||||
buttonEnabled(page.querySelector("#btnShutdown"), false);
|
buttonEnabled(page.querySelector("#btnShutdown"), false);
|
||||||
Dashboard.restartServer();
|
ApiClient.restartServer();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue