Skip to content

Commit e639b4e

Browse files
committed
show collapsedPreview when not null to allow boolean values
1 parent 237a5af commit e639b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/components/FormGroup.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<p class="text-80 grow px-4">
2727
<span class="mr-3 font-semibold">#{{ index + 1 }}</span>
28-
{{ group.title }}<span v-if="collapsedPreview">: <span class="mr-3 font-semibold">{{ truncate(collapsedPreview, 30) }}</span></span>
28+
{{ group.title }}<span v-if="collapsedPreview !== null">: <span class="mr-3 font-semibold">{{ truncate(collapsedPreview, 30) }}</span></span>
2929
</p>
3030

3131
<div class="flex" v-if="!readonly">

0 commit comments

Comments
 (0)