mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
de67415aa8
commit
092fb1f047
13 changed files with 40 additions and 22 deletions
|
@ -31,7 +31,7 @@ pageIdOn('pageshow', 'myPreferencesMenuPage', function () {
|
|||
|
||||
page.querySelector('.headerUser').innerHTML = user.Name;
|
||||
|
||||
if (!(AppInfo.isNativeApp && browserInfo.safari) && user.Policy.IsAdministrator) {
|
||||
if (user.Policy.IsAdministrator) {
|
||||
page.querySelector('.adminSection').classList.remove('hide');
|
||||
} else {
|
||||
page.querySelector('.adminSection').classList.add('hide');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue