1
0
Fork 0
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:
Joshua Boniface 2019-04-03 21:37:26 -04:00
parent 9677981344
commit 8f84b023aa

View file

@ -750,7 +750,7 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
var page = dom.parentWithClass(btn, "page");
buttonEnabled(page.querySelector("#btnRestartServer"), false);
buttonEnabled(page.querySelector("#btnShutdown"), false);
Dashboard.restartServer();
ApiClient.restartServer();
});
});
},