fix: click to apply filter on multiple avatar

This commit is contained in:
Shariq Ansari 2024-02-27 12:44:29 +05:30
parent 8d70a7d2d2
commit 8f95d97c79

View File

@ -625,7 +625,7 @@ function applyFilter({ event, idx, column, item }) {
if (column.key == '_assign') {
if (item.length > 1) {
let target = e.target.closest('.user-avatar')
let target = event.target.closest('.user-avatar')
if (target) {
let name = target.getAttribute('data-name')
filters['_assign'] = ['LIKE', `%${name}%`]