Skip to content

Commit 760be57

Browse files
committed
fix(edit_cat): handle missing original data
- Prevents update with no original data - Displays error message
1 parent 106eee4 commit 760be57

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/content_management/bloc/edit_category/edit_category_bloc.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ class EditCategoryBloc extends Bloc<EditCategoryEvent, EditCategoryState> {
107107
emit(
108108
state.copyWith(
109109
status: EditCategoryStatus.failure,
110-
// TODO(l10n): Localize this message.
111110
errorMessage: 'Cannot update: Original category data not loaded.',
112111
),
113112
);

0 commit comments

Comments
 (0)