DEV: Update more fa6 icon names (#190)

This commit is contained in:
David Taylor 2025-01-06 18:54:40 +00:00 committed by GitHub
parent d30f2d44dc
commit c8b4e742dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 8 deletions

View File

@ -111,17 +111,17 @@ export default class DocsIndexController extends Controller {
@discourseComputed("categorySort") @discourseComputed("categorySort")
categorySortNumericIcon(catSort) { categorySortNumericIcon(catSort) {
if (catSort.type === "numeric" && catSort.direction === "asc") { if (catSort.type === "numeric" && catSort.direction === "asc") {
return "sort-numeric-down"; return "arrow-down-1-9";
} }
return "sort-numeric-up"; return "arrow-up-1-9";
} }
@discourseComputed("categorySort") @discourseComputed("categorySort")
categorySortAlphaIcon(catSort) { categorySortAlphaIcon(catSort) {
if (catSort.type === "alpha" && catSort.direction === "asc") { if (catSort.type === "alpha" && catSort.direction === "asc") {
return "sort-alpha-down"; return "arrow-down-a-z";
} }
return "sort-alpha-up"; return "arrow-up-a-z";
} }
@discourseComputed("tags", "tagSort", "tagFilter") @discourseComputed("tags", "tagSort", "tagFilter")
@ -184,17 +184,17 @@ export default class DocsIndexController extends Controller {
@discourseComputed("tagSort") @discourseComputed("tagSort")
tagSortNumericIcon(tagSort) { tagSortNumericIcon(tagSort) {
if (tagSort.type === "numeric" && tagSort.direction === "asc") { if (tagSort.type === "numeric" && tagSort.direction === "asc") {
return "sort-numeric-down"; return "arrow-down-1-9";
} }
return "sort-numeric-up"; return "arrow-up-1-9";
} }
@discourseComputed("tagSort") @discourseComputed("tagSort")
tagSortAlphaIcon(tagSort) { tagSortAlphaIcon(tagSort) {
if (tagSort.type === "alpha" && tagSort.direction === "asc") { if (tagSort.type === "alpha" && tagSort.direction === "asc") {
return "sort-alpha-down"; return "arrow-down-a-z";
} }
return "sort-alpha-up"; return "arrow-up-a-z";
} }
@discourseComputed("topics", "isSearching", "filterSolved") @discourseComputed("topics", "isSearching", "filterSolved")