Skip to content

Commit 8f9413e

Browse files
committed
fix
1 parent f17570a commit 8f9413e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/nsg_data_item.dart

+2
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ class NsgDataItem {
459459
if (cloneAsCopy) {
460460
newItem.copyRecordFill();
461461
newItem.id = Guid.newGuid();
462+
newItem.state = NsgDataItemState.create;
463+
NsgDataClient.client.addItemsToCache(items: [newItem]);
462464
}
463465
return newItem;
464466
}

0 commit comments

Comments
 (0)