Skip to content

Commit

Permalink
remove empty wrapper for additional elements from DOM if not needed
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Aug 20, 2023
1 parent 639d20d commit ee55289
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/NcListItem/NcListItem.vue
Original file line number Diff line number Diff line change
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 ee55289

Please sign in to comment.