mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-23 09:08:24 +00:00
fix: unhiding group throws exception (#6217)
This commit is contained in:
parent
e3cd9a09f3
commit
e615e7a304
1 changed files with 1 additions and 1 deletions
|
|
@ -446,7 +446,7 @@ class BoardBloc extends Bloc<BoardEvent, BoardState> {
|
|||
final newGroup = _initializeGroupData(group);
|
||||
final visibleGroups = [...groupList]..retainWhere(
|
||||
(g) =>
|
||||
g.isVisible ||
|
||||
(g.isVisible && !g.isDefault) ||
|
||||
g.isDefault && !hideUngrouped ||
|
||||
g.groupId == group.groupId,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue