File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
lib/content_management/view Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import 'package:go_router/go_router.dart';
44import 'package:ht_dashboard/content_management/bloc/content_management_bloc.dart' ;
55import 'package:ht_dashboard/content_management/bloc/edit_category/edit_category_bloc.dart' ;
66import 'package:ht_dashboard/l10n/l10n.dart' ;
7+ import 'package:ht_dashboard/shared/constants/pagination_constants.dart' ;
78import 'package:ht_dashboard/shared/shared.dart' ;
89import 'package:ht_data_repository/ht_data_repository.dart' ;
910import 'package:ht_shared/ht_shared.dart' ;
@@ -108,7 +109,9 @@ class _EditCategoryViewState extends State<_EditCategoryView> {
108109 const SnackBar (content: Text ('Category updated successfully.' )),
109110 );
110111 context.read <ContentManagementBloc >().add (
111- const LoadCategoriesRequested (),
112+ const LoadCategoriesRequested (
113+ limit: kDefaultRowsPerPage,
114+ ),
112115 );
113116 context.pop ();
114117 }
You can’t perform that action at this time.
0 commit comments