diff --git a/src/sync-plugins/crud.ts b/src/sync-plugins/crud.ts index ea4bccaa..f4594dba 100644 --- a/src/sync-plugins/crud.ts +++ b/src/sync-plugins/crud.ts @@ -525,7 +525,8 @@ export function syncedCrud v[fieldId] === itemKey) - : undefined) ?? currentPeeked[itemKey]) + : undefined) ?? + (asType === 'Map' ? currentPeeked.get(itemKey) : currentPeeked[itemKey])) : currentPeeked; // If this value has been deleted locally before this finished saving then ignore the result