Skip to content

Beautiful Open-Source Form Builder

fix template page (#847)

Chirag Chhatralaa905fe045b1b
diff --git a/client/pages/templates/[slug].vue b/client/pages/templates/[slug].vue
index 5e87dbacf..33bc244e7 100644
--- a/client/pages/templates/[slug].vue
+++ b/client/pages/templates/[slug].vue
@@ -141,7 +141,7 @@
v-html="template.description"
/>
- <template v-if="template.questions.length > 0">
+ <template v-if="template.questions?.length > 0">
<hr class="mt-12 border-neutral-200">
<div>
<div class="text-center">