1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #3775 from daullmer/remote-user-config

Fix user specific remote access
This commit is contained in:
Bill Thornton 2022-07-27 00:15:35 -04:00 committed by GitHub
commit 79c53c6458
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');
});