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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user