Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: insert without remove field on FieldCache

appflowyf3c82f5c30a4
diff --git a/frontend/app_flowy/lib/workspace/application/grid/grid_service.dart b/frontend/app_flowy/lib/workspace/application/grid/grid_service.dart
index b79c2e5e59..42f6fa0694 100644
--- a/frontend/app_flowy/lib/workspace/application/grid/grid_service.dart
+++ b/frontend/app_flowy/lib/workspace/application/grid/grid_service.dart
@@ -103,7 +103,6 @@ class GridFieldCache {
final List<Field> fields = _fieldNotifier.fields;
for (final indexField in insertedFields) {
if (fields.length > indexField.index) {
- fields.removeAt(indexField.index);
fields.insert(indexField.index, indexField.field_1);
} else {
fields.add(indexField.field_1);