Replace tree icon in section picker with umb-icon component (#9760)
This commit is contained in:
committed by
GitHub
parent
616992332a
commit
63b417477b
@@ -19,10 +19,15 @@
|
||||
<umb-box ng-if="!vm.loading">
|
||||
<umb-box-content>
|
||||
<ul class="umb-tree">
|
||||
<li ng-repeat="section in vm.sections" class="umb-tree-item">
|
||||
<li class="umb-tree-item" ng-repeat="section in vm.sections">
|
||||
<div class="umb-tree-item__inner" style="padding: 5px 10px;">
|
||||
<button type="button" class="btn-reset text-left flex-auto" ng-click="vm.selectSection(section)" ng-class="{'umb-tree-node-checked': section.selected }">
|
||||
<i class="icon umb-tree-icon {{section.icon}}" aria-hidden="true"></i>
|
||||
<button type="button"
|
||||
class="btn-reset text-left flex-auto"
|
||||
ng-class="{'umb-tree-node-checked': section.selected }"
|
||||
ng-click="vm.selectSection(section)">
|
||||
<umb-icon icon="{{section.selected ? 'icon-check' : section.icon}}"
|
||||
class="icon umb-tree-icon {{section.selected ? 'icon-check color-green' : section.icon}}">
|
||||
</umb-icon>
|
||||
<span>{{ section.name }}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user