mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
[PM-14935] fix: null error when GroupsComponent first loads (#12013)
This commit is contained in:
@@ -59,6 +59,7 @@ type GroupDetailsRow = {
|
|||||||
* with members' names (who are assigned to the group) or collection names (which the group has access to).
|
* with members' names (who are assigned to the group) or collection names (which the group has access to).
|
||||||
*/
|
*/
|
||||||
const groupsFilter = (filter: string) => {
|
const groupsFilter = (filter: string) => {
|
||||||
|
filter ??= "";
|
||||||
const transformedFilter = filter.trim().toLowerCase();
|
const transformedFilter = filter.trim().toLowerCase();
|
||||||
return (data: GroupDetailsRow) => {
|
return (data: GroupDetailsRow) => {
|
||||||
const group = data.details;
|
const group = data.details;
|
||||||
|
|||||||
Reference in New Issue
Block a user