ohif-319: fix asc and desc order on sort label (#1974)
This commit is contained in:
1 parent
58c2c00663
commit
5fbcec99f8
2 files changed
+3
-3
No files matched your search
@@ -21,7 +21,7 @@ const InputGroup = ({
|
||||
|
||||
const handleFilterLabelClick = name => {
|
||||
if (isSortingEnable) {
|
||||
let _sortDirection = 'ascending';
|
||||
let _sortDirection = 'descending';
|
||||
if (sortBy === name) {
|
||||
if (sortDirection === 'ascending') {
|
||||
_sortDirection = 'descending';
|
||||
|
||||
Reference in new issue
Block a user