DEV: Update deprecated Font Awesome icon names (#616)

This commit is contained in:
Kelv 2024-12-04 10:18:17 +08:00 committed by GitHub
parent 6b2d293bbf
commit e4b9ed6b93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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}}

View File

@ -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",
@ -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 }