Restore menu options in mobile view

This commit is contained in:
Bill Thornton 2020-06-11 10:14:08 -04:00
parent d38cbb8d6a
commit e2d5162a3a

View File

@ -43,12 +43,6 @@ define(['apphost', 'connectionManager', 'layoutManager', 'listViewStyle', 'emby-
page.querySelector('.adminSection').classList.add('hide'); page.querySelector('.adminSection').classList.add('hide');
} }
if (layoutManager.mobile) {
page.querySelector('.headerUsername').classList.add('hide');
page.querySelector('.adminSection').classList.add('hide');
page.querySelector('.userSection').classList.add('hide');
}
ApiClient.getUser(userId).then(function(user) { ApiClient.getUser(userId).then(function(user) {
page.querySelector('.headerUsername').innerHTML = user.Name; page.querySelector('.headerUsername').innerHTML = user.Name;
if (!user.Policy.IsAdministrator) { if (!user.Policy.IsAdministrator) {