mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
make channel access opt-in rather than opt out
This commit is contained in:
parent
105aefc715
commit
b0a735dccf
5 changed files with 40 additions and 20 deletions
|
@ -203,8 +203,7 @@
|
|||
|
||||
function isAvailable(item, user) {
|
||||
|
||||
return false;
|
||||
//return item.SupportsSync;
|
||||
return item.SupportsSync;
|
||||
}
|
||||
|
||||
window.SyncManager = {
|
||||
|
@ -226,7 +225,7 @@
|
|||
Dashboard.getCurrentUser().done(function (user) {
|
||||
|
||||
if (user.Policy.EnableSync) {
|
||||
$('.categorySyncButton', page).hide();
|
||||
$('.categorySyncButton', page).show();
|
||||
} else {
|
||||
$('.categorySyncButton', page).hide();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue