diff --git a/src/controllers/dashboard/dashboard.js b/src/controllers/dashboard/dashboard.js index f91f4e01ef..1256f60074 100644 --- a/src/controllers/dashboard/dashboard.js +++ b/src/controllers/dashboard/dashboard.js @@ -179,6 +179,12 @@ define(['datetime', 'events', 'itemHelper', 'serverNotifications', 'dom', 'globa view.querySelector('#operatingSystem').innerHTML = globalize.translate('DashboardOperatingSystem', systemInfo.OperatingSystem); 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('#logPath').innerHTML = systemInfo.LogPath; view.querySelector('#transcodePath').innerHTML = systemInfo.TranscodingTempPath;