mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #6566 from Jxiced/master
This commit is contained in:
commit
d9b15af124
2 changed files with 2 additions and 1 deletions
|
@ -95,6 +95,7 @@
|
|||
- [Ali](https://github.com/bu3alwa)
|
||||
- [K. Kyle Puchkov](https://github.com/kepper104)
|
||||
- [ItsAllAboutTheCode](https://github.com/ItsAllAboutTheCode)
|
||||
- [Jxiced](https://github.com/Jxiced)
|
||||
|
||||
## Emby Contributors
|
||||
|
||||
|
|
|
@ -199,7 +199,7 @@ const UserEdit = () => {
|
|||
throw new Error('Unexpected null user id or policy');
|
||||
}
|
||||
|
||||
user.Name = (page.querySelector('#txtUserName') as HTMLInputElement).value;
|
||||
user.Name = (page.querySelector('#txtUserName') as HTMLInputElement).value.trim();
|
||||
user.Policy.IsAdministrator = (page.querySelector('.chkIsAdmin') as HTMLInputElement).checked;
|
||||
user.Policy.IsHidden = (page.querySelector('.chkIsHidden') as HTMLInputElement).checked;
|
||||
user.Policy.IsDisabled = (page.querySelector('.chkDisabled') as HTMLInputElement).checked;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue