mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Hide controls for admin
This commit is contained in:
parent
7974fbcbaa
commit
f956731477
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ export default function (view, params) {
|
|||
if (params.userId && params.userId !== Dashboard.getCurrentUserId) {
|
||||
page.querySelector('.userSection').classList.add('hide');
|
||||
page.querySelector('.adminSection').classList.add('hide');
|
||||
page.querySelector('.lnkControlsPreferences').classList.add('hide');
|
||||
}
|
||||
|
||||
import('../../../components/autoFocuser').then(({default: autoFocuser}) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue