Commit 6ca6b3ccb1d899d5f6498c6912f8ad8fd6d6798a
1 parent
bb310198
Exists in
master
and in
8 other branches
Swap menu icon when it is active
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/app/components/category-list/category-list.html
... | ... | @@ -15,7 +15,8 @@ |
15 | 15 | <span class="category-list--icon-circle" aria-hidden="true" ng-class="category.slug"></span> |
16 | 16 | <span class="category-list--icon icon" aria-hidden="true" ng-class="'icon-tema-' + category.slug"></span> |
17 | 17 | <span class="category-list--label">{{::category.name}}</span> |
18 | - <span class="category-list--icon--right glyphicon glyphicon-chevron-right hidden-xs"></span> | |
18 | + <span class="category-list--icon--right glyphicon glyphicon-chevron-right hidden-xs" ng-hide="vm.selectedCategory.slug === category.slug"></span> | |
19 | + <span class="category-list--icon--right glyphicon glyphicon-remove hidden-xs" ng-show="vm.selectedCategory.slug === category.slug"></span> | |
19 | 20 | </button> |
20 | 21 | </div> |
21 | 22 | </nav> | ... | ... |