diff --git a/platform/ui/src/components/InputGroup/InputGroup.jsx b/platform/ui/src/components/InputGroup/InputGroup.jsx index 938cb4a5e..979380c1f 100644 --- a/platform/ui/src/components/InputGroup/InputGroup.jsx +++ b/platform/ui/src/components/InputGroup/InputGroup.jsx @@ -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'; diff --git a/platform/ui/src/components/InputLabelWrapper/InputLabelWrapper.jsx b/platform/ui/src/components/InputLabelWrapper/InputLabelWrapper.jsx index c36648c10..00a0bf021 100644 --- a/platform/ui/src/components/InputLabelWrapper/InputLabelWrapper.jsx +++ b/platform/ui/src/components/InputLabelWrapper/InputLabelWrapper.jsx @@ -8,8 +8,8 @@ const baseLabelClassName = 'flex flex-col flex-1 text-white text-lg pl-1 select-none'; const spanClassName = 'flex flex-row items-center cursor-pointer focus:outline-none'; const sortIconMap = { - ascending: 'sorting-active-up', - descending: 'sorting-active-down', + descending: 'sorting-active-up', + ascending: 'sorting-active-down', none: 'sorting', };