1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-06-13 00:41:59 +03:00

Added user filter to audit log

Included testing to cover.
Closes #2472
This commit is contained in:
Dan Brown
2021-03-21 15:04:32 +00:00
parent c548c06086
commit 06706a2d9c
11 changed files with 70 additions and 24 deletions

View File

@ -13,9 +13,11 @@ class UserSelect {
}
selectUser(event, userEl) {
event.preventDefault();
const id = userEl.getAttribute('data-id');
this.input.value = id;
this.userInfoContainer.innerHTML = userEl.innerHTML;
this.input.dispatchEvent(new Event('change', {bubbles: true}));
this.hide();
}