feat: add 'complete' sort option

This commit is contained in:
Cain Watson 2020-10-01 01:32:28 -05:00 committed by Jordan Knott
parent ed4775faa5
commit a288e06123

View File

@ -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>
); );
}; };