mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
require admin for refresh button
This commit is contained in:
parent
18c5fce864
commit
61453eb0cc
1 changed files with 4 additions and 1 deletions
|
@ -784,7 +784,10 @@
|
||||||
commands.push('editimages');
|
commands.push('editimages');
|
||||||
}
|
}
|
||||||
|
|
||||||
commands.push('refresh');
|
if (user.Policy.IsAdministrator) {
|
||||||
|
|
||||||
|
commands.push('refresh');
|
||||||
|
}
|
||||||
|
|
||||||
if (SyncManager.isAvailable(item, user)) {
|
if (SyncManager.isAvailable(item, user)) {
|
||||||
commands.push('sync');
|
commands.push('sync');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue