Skip to content

Commit

Permalink
DEV: Update deprecated Font Awesome icon names (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyb-talks authored Dec 4, 2024
1 parent 6b2d293 commit e4b9ed6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/javascripts/discourse/components/assignment.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default class Assignment extends Component {

{{#if this.showAssigneeIeEmptyError}}
<span class="error-label">
{{icon "exclamation-triangle"}}
{{icon "triangle-exclamation"}}
{{i18n "discourse_assign.assign_modal.choose_assignee"}}
</span>
{{/if}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function extractPostId(buttonId) {
}

function editAssignmentsButton() {
const icon = iconHTML("pencil-alt");
const icon = iconHTML("pencil");
const label = I18n.t("discourse_assign.topic_level_menu.edit_assignments");
return {
id: "reassign",
Expand All @@ -138,7 +138,7 @@ function unassignFromTopicButton(topic) {
topic.assigned_to_user?.username || topic.assigned_to_group?.name;
const icon = topic.assigned_to_user
? avatarHtml(topic.assigned_to_user, "small")
: iconHTML("user-times");
: iconHTML("user-xmark");
const label = I18n.t(
"discourse_assign.topic_level_menu.unassign_from_topic",
{ username }
Expand Down

0 comments on commit e4b9ed6

Please sign in to comment.