diff --git a/dashboard-ui/collections.html b/dashboard-ui/collections.html index 53c097ea45..6dc952ead7 100644 --- a/dashboard-ui/collections.html +++ b/dashboard-ui/collections.html @@ -16,7 +16,7 @@
- +
diff --git a/dashboard-ui/scripts/moviecollections.js b/dashboard-ui/scripts/moviecollections.js index ac5783483a..0b8e230ea0 100644 --- a/dashboard-ui/scripts/moviecollections.js +++ b/dashboard-ui/scripts/moviecollections.js @@ -67,6 +67,16 @@ LibraryBrowser.saveQueryValues('boxsets', query); + Dashboard.getCurrentUser().done(function(user) { + + if (user.Configuration.IsAdministrator) { + $('#btnNewCollection', page).removeClass('hide'); + } else { + $('#btnNewCollection', page).addClass('hide'); + } + + }); + Dashboard.hideLoadingMsg(); }); }