fix filter

This commit is contained in:
wh1te909 2020-11-10 09:51:37 +00:00
parent 697e2250d4
commit 4b6ddb535a
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -34,6 +34,7 @@ app.ini
create_services.py
gen_random.py
sync_salt_modules.py
change_times.py
rmm-*.exe
rmm-*.ps1
api/tacticalrmm/accounts/management/commands/*.json

View File

@ -416,7 +416,7 @@ export default {
}
// fix for last_logged_in_user not filtering
if (row.logged_in_username === "None" && row.status === "online")
if (row.logged_in_username === "None" && row.status === "online" && !!row.last_logged_in_user)
return row.last_logged_in_user.toLowerCase().indexOf(search) !== -1;
// Normal text filter