Skip to content

Commit

Permalink
Merge pull request #76 from ashton/master
Browse files Browse the repository at this point in the history
Fix tasks order in right side bar
  • Loading branch information
ahonn authored Aug 13, 2024
2 parents 0da8279 + bfb520b commit a967d30
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/TaskSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ const TaskSection: React.FC<ITaskSectionProps> = (props) => {
}, [props.groupBy, tasks]);

const openTaskGroups = React.useCallback(() => {
tasks.forEach((task) => {
const tasksCopy = [...tasks];
tasksCopy.reverse();

tasksCopy.forEach((task) => {
openTask(task, {
openInRightSidebar: true,
});
Expand Down

0 comments on commit a967d30

Please sign in to comment.