Skip to content

Commit 21e0070

Browse files
Ignore descriptions that only contain spaces
Co-authored-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: Daniel Klepatsch <daniel.klepatsch@gmx.at>
1 parent b314619 commit 21e0070

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/cards/CardBadges.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div v-if="card.description && checkListCount > 0" class="card-tasks icon icon-checkmark">
2828
{{ checkListCheckedCount }}/{{ checkListCount }}
2929
</div>
30-
<div v-else-if="card.description && checkListCount == 0" class="icon icon-description" />
30+
<div v-else-if="card.description.trim() && checkListCount == 0" class="icon icon-description" />
3131

3232
<div v-if="card.attachmentCount > 0" class="icon-attach icon icon-attach-dark">
3333
{{ card.attachmentCount }}

0 commit comments

Comments
 (0)