Fix bug with new return value for swimlane colorClass()

This commit is contained in:
John R. Supplee 2021-01-04 22:04:24 +02:00
parent 89c68d1987
commit 0497d38c1d
2 changed files with 2 additions and 2 deletions

View file

@ -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'}}

View file

@ -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