diff --git a/plugins/view-resources/src/components/DocTable.svelte b/plugins/view-resources/src/components/DocTable.svelte
index 9d0debebd75..be1bf071592 100644
--- a/plugins/view-resources/src/components/DocTable.svelte
+++ b/plugins/view-resources/src/components/DocTable.svelte
@@ -86,7 +86,7 @@
disabled: true
}
: {}
- if (attribute.collectionAttr) {
+ if (attribute.collectionAttr || attribute.attribute?.type?._class === core.class.TypeIdentifier) {
return { object, ...attribute.props, ...readonlyParams }
}
if (attribute.attribute?.type._class === core.class.EnumOf) {
diff --git a/plugins/view-resources/src/components/IdPresenter.svelte b/plugins/view-resources/src/components/IdPresenter.svelte
index 009cf8d515a..4ff98969c64 100644
--- a/plugins/view-resources/src/components/IdPresenter.svelte
+++ b/plugins/view-resources/src/components/IdPresenter.svelte
@@ -13,10 +13,15 @@
// limitations under the License.
-->
-
- {value ?? ''}
-
+{#if object !== undefined}
+
+
+ {value ?? ''}
+
+
+{:else}
+
+ {value ?? ''}
+
+{/if}
diff --git a/plugins/view-resources/src/components/Table.svelte b/plugins/view-resources/src/components/Table.svelte
index 225e85c0922..64c511bc70a 100644
--- a/plugins/view-resources/src/components/Table.svelte
+++ b/plugins/view-resources/src/components/Table.svelte
@@ -269,7 +269,7 @@
readonly: !editable,
editable
}
- if (attribute.collectionAttr) {
+ if (attribute.collectionAttr || attribute.attribute?.type?._class === core.class.TypeIdentifier) {
return { object, ...attribute.props, ...readonlyParams }
}
if (attribute.attribute?.type._class === core.class.EnumOf) {