Skip to content

Commit 9823792

Browse files
committed
fix(content): update source with correct event
- Replace SourceUpdated event with LoadSourcesRequested event - Ensure the source list is refreshed after successful update
1 parent 8442ed8 commit 9823792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/content_management/view/edit_source_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class _EditSourceViewState extends State<_EditSourceView> {
112112
SnackBar(content: Text(l10n.sourceUpdatedSuccessfully)),
113113
);
114114
context.read<ContentManagementBloc>().add(
115-
SourceUpdated(state.updatedSource!),
115+
const LoadSourcesRequested(limit: kDefaultRowsPerPage),
116116
);
117117
context.pop();
118118
}

0 commit comments

Comments
 (0)