1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 17:10:10 +00:00

accounts: allow yes/no in search

This commit is contained in:
Harvey Tindall 2021-11-13 17:00:18 +00:00
parent 94e3c13b3e
commit c988239fa8
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -615,7 +615,7 @@ export class accountsList {
if (word.includes(":")) {
const querySplit = word.split(":")
let state = false;
if (querySplit[1] == "true") {
if (querySplit[1] == "true" || querySplit[1] == "yes") {
state = true;
}
for (let id in this._users) {