mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix parental control hiding
This commit is contained in:
parent
e9151293fa
commit
2ceb7e0ff0
2 changed files with 15 additions and 12 deletions
|
@ -57,9 +57,10 @@
|
|||
function loadUser(page, user, loggedInUser, parentalRatingsPromise, allCulturesPromise) {
|
||||
|
||||
if (!loggedInUser.Configuration.IsAdministrator) {
|
||||
|
||||
$('#parentalControlDiv', page).hide();
|
||||
$('#fldIsAdmin', page).hide();
|
||||
} else {
|
||||
$('#parentalControlDiv', page).show();
|
||||
$('#fldIsAdmin', page).show();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue