diff --git a/data-table.js b/data-table.js index e60445c..bcb53a2 100644 --- a/data-table.js +++ b/data-table.js @@ -351,7 +351,7 @@ class DataTable extends IgniteElement { column.table = this; return new th().class("text-nowrap").class(column.sortable, sortable => sortable ? "cursor-pointer" : null).attribute("scope", "col").child( - new i().show([column.sortable, column.sort], (sortable, sort) => sortable && sort).class("me-2").class(column.sort, sort => sort ? (sort == "asc" ? "fa-solid fa-angle-up" : "fa-solid fa-angle-down") : null), + new i().show([column.sortable, column.sort], (sortable, sort) => sortable || sort).class("me-2").class(column.sort, sort => sort ? (sort == "asc" ? "fa-solid fa-sort-up" : "fa-solid fa-sort-down") : "fa-solid fa-sort"), column.name ).onClick(() => { if (column.sortable) {