mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +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:
@ -21,7 +21,7 @@ widgetTest("extendability", {
|
||||
beforeEach(store) {
|
||||
TopicStatusIcons.addObject([
|
||||
"has_accepted_answer",
|
||||
"check-square-o",
|
||||
"far-check-square",
|
||||
"solved"
|
||||
]);
|
||||
this.set("args", {
|
||||
@ -32,6 +32,6 @@ widgetTest("extendability", {
|
||||
});
|
||||
},
|
||||
test(assert) {
|
||||
assert.ok(find(".topic-status .d-icon-check-square-o").length);
|
||||
assert.ok(find(".topic-status .d-icon-far-check-square").length);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user