Skip to content

Commit

Permalink
show collapsedPreview when not null to allow boolean values
Browse files Browse the repository at this point in the history
  • Loading branch information
fedeisas committed May 15, 2024
1 parent 237a5af commit e639b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/FormGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

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

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

0 comments on commit e639b4e

Please sign in to comment.