Studio: fix crash when creating a new tagRendering

This commit is contained in:
Pieter Vander Vennet 2024-07-09 14:41:39 +02:00
parent 4644b6ae55
commit 9e84bf7ed2

View file

@ -180,7 +180,7 @@
{:else if typeof value === "string"}
Builtin: <b>{value}</b>
{:else}
<Tr cls="font-bold" t={Translations.T(value.question ?? value.render)}/>
<Tr cls="font-bold" t={Translations.T(value?.question ?? value?.render)}/>
{/if}
</span>
<div class="normal-background p-2">