diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html index 7e406a7c7..1a8c7df82 100644 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html +++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html @@ -127,7 +127,7 @@ } - @for (field of document.custom_fields; track field.id) { + @for (field of document.custom_fields; track field.field) { @if (displayFields.includes(DisplayField.CUSTOM_FIELD + field.field)) {
diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html index 9667163fb..92449214e 100644 --- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html +++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html @@ -106,7 +106,7 @@ Shared
} - @for (field of document.custom_fields; track field.id) { + @for (field of document.custom_fields; track field.field) { @if (displayFields.includes(DisplayField.CUSTOM_FIELD + field.field)) {