mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: add filter tests
This commit is contained in:
@ -66,7 +66,6 @@ class BoardCardBloc extends Bloc<BoardCardEvent, BoardCardState> {
|
||||
state.cells.map((cell) => cell.identifier.fieldInfo).toList(),
|
||||
),
|
||||
rowPB: state.rowPB,
|
||||
visible: true,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -287,7 +287,6 @@ class _BoardContentState extends State<BoardContent> {
|
||||
gridId: gridId,
|
||||
fields: UnmodifiableListView(fieldController.fieldInfos),
|
||||
rowPB: rowPB,
|
||||
visible: true,
|
||||
);
|
||||
|
||||
final dataController = GridRowDataController(
|
||||
|
@ -39,7 +39,6 @@ class GridRowCache {
|
||||
|
||||
UnmodifiableListView<RowInfo> get visibleRows {
|
||||
var visibleRows = [..._rowList.rows];
|
||||
visibleRows.retainWhere((element) => element.visible);
|
||||
return UnmodifiableListView(visibleRows);
|
||||
}
|
||||
|
||||
@ -236,7 +235,6 @@ class GridRowCache {
|
||||
gridId: gridId,
|
||||
fields: _fieldNotifier.fields,
|
||||
rowPB: rowPB,
|
||||
visible: true,
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -264,7 +262,6 @@ class RowInfo with _$RowInfo {
|
||||
required String gridId,
|
||||
required UnmodifiableListView<FieldInfo> fields,
|
||||
required RowPB rowPB,
|
||||
required bool visible,
|
||||
}) = _RowInfo;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user