mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update resource loading
This commit is contained in:
parent
3838831828
commit
13838f9d76
3 changed files with 17 additions and 64 deletions
|
@ -117,6 +117,15 @@ define(['apphost'], function (appHost) {
|
|||
|
||||
canEditImages: function (user, itemType) {
|
||||
|
||||
if (itemType == 'UserView') {
|
||||
if (user.Policy.IsAdministrator) {
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return itemType != 'Timer' && canEdit(user, itemType);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue