mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 13:07:17 -04:00
Fix bug with new return value for swimlane colorClass()
This commit is contained in:
parent
89c68d1987
commit
0497d38c1d
2 changed files with 2 additions and 2 deletions
|
@ -153,7 +153,7 @@ template(name="setListColorPopup")
|
|||
form.edit-label
|
||||
.palette-colors: each colors
|
||||
// note: we use the swimlane palette to have more than just the border
|
||||
span.card-label.palette-color.js-palette-color(class="swimlane-{{color}}")
|
||||
span.card-label.palette-color.js-palette-color(class=colorClass)
|
||||
if(isSelected color)
|
||||
i.fa.fa-check
|
||||
button.primary.confirm.js-submit {{_ 'save'}}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
template(name="swimlaneHeader")
|
||||
.swimlane-header-wrap.js-swimlane-header(class='{{#if colorClass}}swimlane-{{colorClass}}{{/if}}')
|
||||
.swimlane-header-wrap.js-swimlane-header(class=colorClass)
|
||||
if this.isTemplateContainer
|
||||
+swimlaneFixedHeader(this)
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue