mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
revert self restart check
This commit is contained in:
parent
8cef3817bd
commit
3667a9f06f
1 changed files with 6 additions and 0 deletions
|
@ -179,6 +179,12 @@ define(['datetime', 'events', 'itemHelper', 'serverNotifications', 'dom', 'globa
|
||||||
view.querySelector('#operatingSystem').innerHTML = globalize.translate('DashboardOperatingSystem', systemInfo.OperatingSystem);
|
view.querySelector('#operatingSystem').innerHTML = globalize.translate('DashboardOperatingSystem', systemInfo.OperatingSystem);
|
||||||
view.querySelector('#architecture').innerHTML = globalize.translate('DashboardArchitecture', systemInfo.SystemArchitecture);
|
view.querySelector('#architecture').innerHTML = globalize.translate('DashboardArchitecture', systemInfo.SystemArchitecture);
|
||||||
|
|
||||||
|
if (systemInfo.CanSelfRestart) {
|
||||||
|
view.querySelector('#btnRestartServer').classList.remove('hide');
|
||||||
|
} else {
|
||||||
|
view.querySelector('#btnRestartServer').classList.add('hide');
|
||||||
|
}
|
||||||
|
|
||||||
view.querySelector('#cachePath').innerHTML = systemInfo.CachePath;
|
view.querySelector('#cachePath').innerHTML = systemInfo.CachePath;
|
||||||
view.querySelector('#logPath').innerHTML = systemInfo.LogPath;
|
view.querySelector('#logPath').innerHTML = systemInfo.LogPath;
|
||||||
view.querySelector('#transcodePath').innerHTML = systemInfo.TranscodingTempPath;
|
view.querySelector('#transcodePath').innerHTML = systemInfo.TranscodingTempPath;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue