Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit e4b9ed6

Browse files
authored
DEV: Update deprecated Font Awesome icon names (#616)
1 parent 6b2d293 commit e4b9ed6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/javascripts/discourse/components/assignment.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export default class Assignment extends Component {
9898

9999
{{#if this.showAssigneeIeEmptyError}}
100100
<span class="error-label">
101-
{{icon "exclamation-triangle"}}
101+
{{icon "triangle-exclamation"}}
102102
{{i18n "discourse_assign.assign_modal.choose_assignee"}}
103103
</span>
104104
{{/if}}

assets/javascripts/discourse/components/topic-level-assign-menu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function extractPostId(buttonId) {
112112
}
113113

114114
function editAssignmentsButton() {
115-
const icon = iconHTML("pencil-alt");
115+
const icon = iconHTML("pencil");
116116
const label = I18n.t("discourse_assign.topic_level_menu.edit_assignments");
117117
return {
118118
id: "reassign",
@@ -138,7 +138,7 @@ function unassignFromTopicButton(topic) {
138138
topic.assigned_to_user?.username || topic.assigned_to_group?.name;
139139
const icon = topic.assigned_to_user
140140
? avatarHtml(topic.assigned_to_user, "small")
141-
: iconHTML("user-times");
141+
: iconHTML("user-xmark");
142142
const label = I18n.t(
143143
"discourse_assign.topic_level_menu.unassign_from_topic",
144144
{ username }

0 commit comments

Comments
 (0)