Skip to content

Commit

Permalink
Merge pull request #4446 from nextcloud-libraries/backport/4438/stable27
Browse files Browse the repository at this point in the history
[stable7] fix(NcListItem) - remove empty wrapper for additional elements from DOM if not needed
  • Loading branch information
Antreesy committed Aug 22, 2023
2 parents fc0e934 + 9d535bd commit 3fa0e45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/NcListItem/NcListItem.vue
Expand Up @@ -251,7 +251,9 @@
</span>

<!-- Counter and indicator -->
<span v-if="showAdditionalElements" class="line-two__additional_elements">
<span v-if="counterNumber != 0 || hasIndicator"
v-show="showAdditionalElements"
class="line-two__additional_elements">
<NcCounterBubble v-if="counterNumber != 0"
class="line-two__counter"
:type="counterType">
Expand Down Expand Up @@ -407,7 +409,7 @@ export default {
},
/**
* If different from from 0 this component will display the
* If different from 0 this component will display the
* NcCounterBubble component
*/
counterNumber: {
Expand Down

0 comments on commit 3fa0e45

Please sign in to comment.