Fix missing checkmark selection in section picker

(cherry picked from commit c1cf6612a4)
This commit is contained in:
Bjarne Fyrstenborg
2019-09-03 00:00:53 +02:00
committed by Sebastiaan Janssen
parent 468cd96846
commit 252ea8674f
2 changed files with 4 additions and 6 deletions

View File

@@ -1,7 +1,5 @@
/*
Flexbox
*/
.flex { display: flex; }

View File

@@ -19,10 +19,10 @@
<umb-box ng-if="!vm.loading">
<umb-box-content>
<ul class="umb-tree">
<li ng-repeat="section in vm.sections" class="umb-tree-item">
<div style="padding: 5px 10px;" ng-class="{'umb-tree-node-checked': section.selected }">
<a href="" ng-click="vm.selectSection(section)">
<i class="icon umb-tree-icon {{section.icon}}"></i>
<li ng-repeat="section in vm.sections" class="umb-tree-item" ng-class="{'umb-tree-node-checked': section.selected }">
<div class="umb-tree-item__inner cursor-pointer" ng-click="vm.selectSection(section)" style="padding: 5px 10px;">
<i class="icon umb-tree-icon {{section.icon}}"></i>
<a class="flex-auto" href="" prevent-default>
<span>{{ section.name }}</span>
</a>
</div>