1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

[PM-14935] fix: null error when GroupsComponent first loads (#12013)

This commit is contained in:
Thomas Rittson
2024-11-18 14:24:12 +10:00
committed by GitHub
parent be61d5d325
commit ea5f492fd1

View File

@@ -59,6 +59,7 @@ type GroupDetailsRow = {
* with members' names (who are assigned to the group) or collection names (which the group has access to).
*/
const groupsFilter = (filter: string) => {
filter ??= "";
const transformedFilter = filter.trim().toLowerCase();
return (data: GroupDetailsRow) => {
const group = data.details;