Skip to content

Commit

Permalink
fix: build don't accept `
Browse files Browse the repository at this point in the history
  • Loading branch information
xtian7489 committed May 21, 2024
1 parent 86308c5 commit bf1b103
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/admin/admin-tags/template.jade
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
a.list-group-item(href=urlBuilder.for('admin.tags.id', {id: tag.id, forum: forum.name}), class="tag-wrapper")
.tag-name.d-flex
- const id = 'fa fa-' + tag.image
- const color = 'background-color:'+tag.color
i(class=id, aria-hidden="true")
span.tag-title= tag.name
div.ml-3(class="tag-color", style=`background-color:${tag.color}`)
div.ml-3(class="tag-color", style=color)

0 comments on commit bf1b103

Please sign in to comment.