Fix sorting icons
This commit is contained in:
1 parent
90d346631f
commit
ee32d49cd3
1 file changed
+2
-2
@@ -80,8 +80,8 @@ function renderTable(
|
||||
let direction = 1;
|
||||
|
||||
let symbol = getIcon("unsorted");
|
||||
if (sortAttributes[i] > 0) symbol = getIcon("sorted-dsc");
|
||||
else if (sortAttributes[i] < 0) symbol = getIcon("sorted-asc");
|
||||
if (sortAttributes[i] > 0) symbol = getIcon("sorted-asc");
|
||||
else if (sortAttributes[i] < 0) symbol = getIcon("sorted-dsc");
|
||||
|
||||
const sortable = m(
|
||||
"button",
|
||||
|
||||
Reference in new issue
Block a user