diff --git a/extensions/tags/js/src/admin/components/EditTagModal.js b/extensions/tags/js/src/admin/components/EditTagModal.js
index 830cf9f14..fbb0d0934 100644
--- a/extensions/tags/js/src/admin/components/EditTagModal.js
+++ b/extensions/tags/js/src/admin/components/EditTagModal.js
@@ -19,6 +19,7 @@ export default class EditTagModal extends Modal {
this.slug = m.prop(this.tag.slug() || '');
this.description = m.prop(this.tag.description() || '');
this.color = m.prop(this.tag.color() || '');
+ this.icon = m.prop(this.tag.icon() || '');
this.isHidden = m.prop(this.tag.isHidden() || false);
}
@@ -30,7 +31,8 @@ export default class EditTagModal extends Modal {
return this.name()
? tagLabel({
name: this.name,
- color: this.color
+ color: this.color,
+ icon: this.icon,
})
: app.translator.trans('flarum-tags.admin.edit_tag.title');
}
@@ -71,6 +73,14 @@ export default class EditTagModal extends Modal {
, 20);
+ items.add('icon',
+
+
+ {app.translator.trans('core.admin.edit_group.icon_text', {a:
})}
+
+
+
, 10);
+
items.add('hidden',