Skip to content

Commit 8442ed8

Browse files
committed
fix(content_management): update topic edit functionality
- Replace TopicUpdated event with LoadTopicsRequested event after successful topic update - Ensure topic list is refreshed to reflect changes
1 parent 117d9fd commit 8442ed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/content_management/view/edit_topic_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class _EditTopicViewState extends State<_EditTopicView> {
108108
SnackBar(content: Text(l10n.topicUpdatedSuccessfully)),
109109
);
110110
context.read<ContentManagementBloc>().add(
111-
TopicUpdated(state.updatedTopic!),
111+
const LoadTopicsRequested(limit: kDefaultRowsPerPage),
112112
);
113113
context.pop();
114114
}

0 commit comments

Comments
 (0)