mirror of
https://github.com/makeplane/plane.git
synced 2025-12-24 23:59:40 +01:00
fix: project order by dropdown (#4037)
This commit is contained in:
committed by
GitHub
parent
5aed04eb41
commit
baab6ce99f
@@ -40,7 +40,8 @@ export const ProjectOrderByDropdown: React.FC<Props> = (props) => {
|
||||
key={option.key}
|
||||
className="flex items-center justify-between gap-2"
|
||||
onClick={() => {
|
||||
if (isDescending) onChange(`-${option.key}` as TProjectOrderByOptions);
|
||||
if (isDescending)
|
||||
onChange(option.key == "sort_order" ? option.key : (`-${option.key}` as TProjectOrderByOptions));
|
||||
else onChange(option.key);
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user