mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Backport pull request #3775 from jellyfin/release-10.8.z
Fix user specific remote access
Authored-by: David Ullmer <davidullmer@outlook.de>
Merged-by: Bill Thornton <thornbill@users.noreply.github.com>
Original-merge: 79c53c6458
This commit is contained in:
parent
3caf3461b9
commit
497999ce00
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ const UserEdit: 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