mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
[PM-14935] fix: null error when GroupsComponent first loads (#12013)
This commit is contained in:
parent
be61d5d325
commit
ea5f492fd1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user