mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-11-04 13:31:45 +03:00
Improved user-permissions adding ux
- Reset input after user selection. - Corrected permission row title text for user rows.
This commit is contained in:
@@ -86,6 +86,10 @@ export class EntityPermissions extends Component {
|
||||
|
||||
toggle.classList.remove('disabled');
|
||||
this.userContainer.style.pointerEvents = null;
|
||||
|
||||
/** @var {UserSelect} **/
|
||||
const userSelect = window.$components.firstOnElement(this.userSelectContainer.querySelector('.dropdown-search'), 'user-select');
|
||||
userSelect.reset();
|
||||
}
|
||||
|
||||
removeRowOnButtonClick(button) {
|
||||
|
||||
Reference in New Issue
Block a user