Skip to content

Commit bf1b103

Browse files
committed
fix: build don't accept `
1 parent 86308c5 commit bf1b103

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/admin/admin-tags/template.jade

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
a.list-group-item(href=urlBuilder.for('admin.tags.id', {id: tag.id, forum: forum.name}), class="tag-wrapper")
1616
.tag-name.d-flex
1717
- const id = 'fa fa-' + tag.image
18+
- const color = 'background-color:'+tag.color
1819
i(class=id, aria-hidden="true")
1920
span.tag-title= tag.name
20-
div.ml-3(class="tag-color", style=`background-color:${tag.color}`)
21+
div.ml-3(class="tag-color", style=color)
2122

0 commit comments

Comments
 (0)