Fix displaying of thumbnail in O2M/M2O/M2A interfaces (#19395)

This commit is contained in:
Pascal Jufer
2023-08-10 21:10:33 +02:00
committed by GitHub
parent 0cabfcaf96
commit cb23804d24
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
'@directus/app': patch
---
Fixed displaying of thumbnail in O2M/M2O/M2A interfaces

View File

@@ -134,7 +134,7 @@ function handleObject(fieldKey: string) {
.join('.');
}
const value = get(props.item, fieldKey);
const value = fieldKey ? get(props.item, fieldKey) : props.item;
if (value === undefined) return null;