1
0
mirror of https://github.com/flarum/core.git synced 2025-06-11 17:11:51 +02:00

fix(regression): missing TagsLabel class

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz
2023-05-14 21:34:34 +01:00
parent 5b89d3e91a
commit feb968780a

View File

@ -7,7 +7,7 @@ export default function tagsLabel(tags, attrs = {}) {
const children = []; const children = [];
const { link, ...otherAttrs } = attrs; const { link, ...otherAttrs } = attrs;
attrs.className = classList('TagsLabel', attrs.className); otherAttrs.className = classList('TagsLabel', otherAttrs.className);
if (tags) { if (tags) {
sortTags(tags).forEach((tag) => { sortTags(tags).forEach((tag) => {