feat: add 'complete' sort option
This commit is contained in:
parent
ed4775faa5
commit
a288e06123
@ -73,6 +73,11 @@ const SortPopup: React.FC<SortPopupProps> = ({ sorting, onChangeTaskSorting }) =
|
|||||||
>
|
>
|
||||||
<ActionTitle>Task title</ActionTitle>
|
<ActionTitle>Task title</ActionTitle>
|
||||||
</ActionItem>
|
</ActionItem>
|
||||||
|
<ActionItem
|
||||||
|
onClick={() => handleSetSorting({ type: TaskSortingType.COMPLETE, direction: TaskSortingDirection.ASC })}
|
||||||
|
>
|
||||||
|
<ActionTitle>Complete</ActionTitle>
|
||||||
|
</ActionItem>
|
||||||
</ActionsList>
|
</ActionsList>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user