mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00
FIX: Rename deprecated icons, allow custom icons in badges
- adds a migration renaming FA4 icon names in badges - allows all icons to be used in badges (previously was limited to icons prefixed with fa-) - renames remaining FA 4.7 icons equivalents
This commit is contained in:
@ -67,7 +67,7 @@ export default DropdownSelectBoxComponent.extend({
|
||||
content.title = I18n.t("composer.composer_actions.edit");
|
||||
break;
|
||||
case CREATE_SHARED_DRAFT:
|
||||
content.icon = "clipboard";
|
||||
content.icon = "far-clipboard";
|
||||
content.title = I18n.t("composer.composer_actions.draft");
|
||||
break;
|
||||
}
|
||||
@ -167,7 +167,7 @@ export default DropdownSelectBoxComponent.extend({
|
||||
items.push({
|
||||
name: I18n.t("composer.composer_actions.shared_draft.label"),
|
||||
description: I18n.t("composer.composer_actions.shared_draft.desc"),
|
||||
icon: "clipboard",
|
||||
icon: "far-clipboard",
|
||||
id: "shared_draft"
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user