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 Jun 28, 2019
1 parent e1c0b86 commit 578b6c9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/AppNavigationItem/AppNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@
<ul>
<!-- counter -->
<li v-if="Number.isInteger(item.utils.counter) && item.utils.counter > 0"
class="app-navigation-entry-utils-counter">
{{ item.utils.counter }}
class="app-navigation-entry-utils-counter"
:class="{highlighted: item.utils.counter_highlighted}">
<span>{{ item.utils.counter }}</span>
</li>

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

0 comments on commit 578b6c9

Please sign in to comment.