Fix label style issue when list of labels is updated

fixes #373

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-01-08 14:37:44 +01:00
parent c517dbdb77
commit f55fb90cfa
4 changed files with 18 additions and 4 deletions

View File

@@ -67,7 +67,7 @@
<h4>{{ c.title }}</h4>
<ul class="labels">
<li ng-repeat="label in c.labels"
ng-style="{'background-color':'#{{ label.color }}'}" title="{{ label.title }}">
ng-style="labelStyle(label.color)" title="{{ label.title }}">
<span>{{ label.title }}</span>
</li>
</ul>