Skip to content

Commit 4d5ad84

Browse files
committed
fix(dashboard): ensure recent headlines are filtered by active status
1 parent 2c781a2 commit 4d5ad84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/dashboard/bloc/dashboard_bloc.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class DashboardBloc extends Bloc<DashboardEvent, DashboardState> {
3333
_headlinesRepository.readAll(
3434
pagination: const PaginationOptions(limit: 5),
3535
sort: const [SortOption('updatedAt', SortOrder.desc)],
36+
filter: {'status': ContentStatus.active.name},
3637
),
3738
]);
3839

0 commit comments

Comments
 (0)