1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 05:30:01 +00:00

Allow searching of boolean custom field values

This commit is contained in:
Matt Gibson
2025-03-12 09:53:52 -07:00
parent 607bcc6b64
commit e6338c379f

View File

@@ -352,6 +352,15 @@ function fieldValues(cipher: CipherView, fieldTest: RegExp): FieldValues {
}
break;
}
case FieldType.Boolean: {
if (fieldTest.test(field.name)) {
result.push({
path: `customField.${field.name}`,
value: field.value,
});
}
break;
}
default:
break;
}