diff --git a/frontend/src/lib/components/InscriptionCard.svelte b/frontend/src/lib/components/InscriptionCard.svelte index 69ccc6a84e2..4e07ad58c7d 100644 --- a/frontend/src/lib/components/InscriptionCard.svelte +++ b/frontend/src/lib/components/InscriptionCard.svelte @@ -45,7 +45,7 @@
{inscription.type?._ || 'N/A'}
{/if}
Object type
- {#if inscription.objectType.ref} + {#if inscription.objectType?.ref}
{inscription.objectType?._}
{:else}
{inscription.objectType?._ || 'N/A'}
diff --git a/frontend/src/lib/components/InscriptionTableRow.svelte b/frontend/src/lib/components/InscriptionTableRow.svelte index 81f1001d269..da6094f4a6b 100644 --- a/frontend/src/lib/components/InscriptionTableRow.svelte +++ b/frontend/src/lib/components/InscriptionTableRow.svelte @@ -20,7 +20,7 @@ {/if} - {#if inscription.objectType.ref} + {#if inscription.objectType?.ref} {inscription.objectType?._} {:else} {inscription.objectType?._ || 'N/A'}