Optimistic follow up (#15071)
Fixing optimistic rendering for the morph relation
This commit is contained in:
+1
@@ -392,6 +392,7 @@ const extractTargetRecordsFromRelation = (
|
||||
): RecordGqlNode[] => {
|
||||
// TODO investigate on the root cause of array injection here, should never occurs
|
||||
// Cache might be corrupted somewhere due to ObjectRecord and RecordGqlNode inclusion
|
||||
|
||||
if (!isDefined(value) || isArray(value)) {
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user