Skip to content

Commit

Permalink
Merge pull request #6117 from nextcloud-libraries/fix/noid/nc-list-it…
Browse files Browse the repository at this point in the history
…em-count-number

fix(NcListItem): change condition to display the counter number
  • Loading branch information
julien-nc authored Sep 26, 2024
2 parents 833ac5b + 1aade62 commit ac728da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NcListItem/NcListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -482,10 +482,10 @@ The `actions-icon` slot can be used to pass icon to the inner NcActions componen
<slot name="details">{{ details }}</slot>
</div>
<!-- Counter and indicator -->
<div v-if="counterNumber !== undefined || hasIndicator"
<div v-if="counterNumber !== 0 || hasIndicator"
v-show="showAdditionalElements"
class="list-item-details__extra">
<NcCounterBubble v-if="counterNumber !== undefined"
<NcCounterBubble v-if="counterNumber !== 0"
:count="counterNumber"
:active="isActive || active"
class="list-item-details__counter"
Expand Down

0 comments on commit ac728da

Please sign in to comment.