Skip to content

Commit

Permalink
Allow highlighted counter in app navigation
Browse files Browse the repository at this point in the history
Signed-off-by: Greta Doci <[email protected]>
  • Loading branch information
GretaD committed Jul 4, 2019
1 parent e1c0b86 commit b205ffe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/AppNavigationItem/AppNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@
<div v-if="item.utils" class="app-navigation-entry-utils">
<ul>
<!-- counter -->
<li v-if="Number.isInteger(item.utils.counter) && item.utils.counter > 0"
class="app-navigation-entry-utils-counter">
{{ item.utils.counter }}
<li :class="{highlighted: item.utils.counter_highlighted}"
class="app-navigation-entry-utils-counter"
v-if="Number.isInteger(item.utils.counter) && item.utils.counter > 0">
<span>{{ item.utils.counter }}</span>
</li>

<!-- first action if only one action -->
Expand Down

0 comments on commit b205ffe

Please sign in to comment.