mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added CanSelfRestart
This commit is contained in:
parent
c236b53727
commit
d8fdb2f5f8
3 changed files with 18 additions and 5 deletions
|
@ -344,6 +344,12 @@
|
|||
} else {
|
||||
$('#btnUpdateApplication', page).button('enable');
|
||||
}
|
||||
|
||||
if (dashboardInfo.SystemInfo.CanSelfRestart) {
|
||||
$('.btnRestartContainer', page).removeClass('hide');
|
||||
} else {
|
||||
$('.btnRestartContainer', page).addClass('hide');
|
||||
}
|
||||
|
||||
DashboardPage.renderApplicationUpdateInfo(dashboardInfo);
|
||||
DashboardPage.renderPluginUpdateInfo(dashboardInfo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue