mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
ensure media library button is displayed or hidden correctly
This commit is contained in:
parent
498aa4b31e
commit
8d53d9508c
1 changed files with 0 additions and 6 deletions
|
@ -10,12 +10,6 @@
|
|||
|
||||
ApiClient.getUser(userId).done(function (user) {
|
||||
|
||||
if (user.Configuration.IsAdministrator) {
|
||||
$('.lnkMediaLibrary', page).show();
|
||||
} else {
|
||||
$('.lnkMediaLibrary', page).hide();
|
||||
}
|
||||
|
||||
$('#uploadUserImage', page).val('').trigger('change');
|
||||
|
||||
Dashboard.setPageTitle(user.Name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue