Skip to content

Commit e93bf3d

Browse files
committed
fix: default name when create a new field
1 parent 2fdc5e2 commit e93bf3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/app_flowy/lib/plugins/grid/application/field/field_editor_bloc.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class FieldEditorBloc extends Bloc<FieldEditorEvent, FieldEditorState> {
3535
emit(state.copyWith(name: name));
3636
},
3737
didReceiveFieldChanged: (FieldPB field) {
38-
emit(state.copyWith(field: Some(field)));
38+
emit(state.copyWith(field: Some(field), name: field.name));
3939
},
4040
);
4141
},

0 commit comments

Comments
 (0)