mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix user specific remote access
This commit is contained in:
parent
db346e4c05
commit
5f659b0ef6
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ const UserEditPage: FunctionComponent = () => {
|
|||
}
|
||||
});
|
||||
|
||||
window.ApiClient.getServerConfiguration().then(function (config) {
|
||||
window.ApiClient.getNamedConfiguration('network').then(function (config) {
|
||||
const fldRemoteAccess = page.querySelector('.fldRemoteAccess') as HTMLDivElement;
|
||||
config.EnableRemoteAccess ? fldRemoteAccess.classList.remove('hide') : fldRemoteAccess.classList.add('hide');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue