mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
hide manage server
This commit is contained in:
parent
e6a4712928
commit
c27b651de5
@ -32,7 +32,7 @@ pageIdOn('pageshow', 'myPreferencesMenuPage', function () {
|
||||
page.querySelector('.headerUser').innerHTML = user.Name;
|
||||
|
||||
if (AppInfo.isNativeApp && browserInfo.safari && user.Policy.IsAdministrator) {
|
||||
page.querySelector('.adminSection').classList.remove('hide');
|
||||
page.querySelector('.adminSection').classList.add('hide');
|
||||
} else {
|
||||
page.querySelector('.adminSection').classList.add('hide');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user