DEV: Update more deprecated Font Awesome icon names (#345)

This commit is contained in:
Kelv 2024-12-07 03:45:09 +08:00 committed by GitHub
parent 2ea9951175
commit 256ef27b85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@
<DButton <DButton
class="result-json-button" class="result-json-button"
@action={{action "viewJson"}} @action={{action "viewJson"}}
@icon="ellipsis-h" @icon="ellipsis"
@title="explorer.view_json" @title="explorer.view_json"
/> />
</div> </div>

View File

@ -15,7 +15,7 @@
<DButton <DButton
@action={{this.close}} @action={{this.close}}
@icon="times" @icon="xmark"
@aria-label="share.close" @aria-label="share.close"
@title="share.close" @title="share.close"
class="btn-flat close" class="btn-flat close"

View File

@ -60,7 +60,7 @@
/> />
<DButton <DButton
@action={{this.exitEdit}} @action={{this.exitEdit}}
@icon="times" @icon="xmark"
class="previous" class="previous"
/> />
<div class="name-text-field"> <div class="name-text-field">
@ -182,7 +182,7 @@
class="btn-edit-query" class="btn-edit-query"
@action={{this.editQuery}} @action={{this.editQuery}}
@label="explorer.edit" @label="explorer.edit"
@icon="pencil-alt" @icon="pencil"
/> />
{{/unless}} {{/unless}}
{{/if}} {{/if}}
@ -198,7 +198,7 @@
<DButton <DButton
@action={{this.showHelpModal}} @action={{this.showHelpModal}}
@label="explorer.help.label" @label="explorer.help.label"
@icon="question-circle" @icon="circle-question"
/> />
{{/if}} {{/if}}
</div> </div>
@ -207,14 +207,14 @@
{{#if this.selectedItem.destroyed}} {{#if this.selectedItem.destroyed}}
<DButton <DButton
@action={{this.recover}} @action={{this.recover}}
@icon="undo" @icon="arrow-rotate-left"
@label="explorer.recover" @label="explorer.recover"
/> />
{{else}} {{else}}
{{#if this.editingQuery}} {{#if this.editingQuery}}
<DButton <DButton
@action={{this.discard}} @action={{this.discard}}
@icon="undo" @icon="arrow-rotate-left"
@label="explorer.undo" @label="explorer.undo"
@disabled={{this.saveDisabled}} @disabled={{this.saveDisabled}}
/> />
@ -222,7 +222,7 @@
<DButton <DButton
@action={{this.destroyQuery}} @action={{this.destroyQuery}}
@icon="trash-alt" @icon="trash-can"
@label="explorer.delete" @label="explorer.delete"
class="btn-danger" class="btn-danger"
/> />