change goals sorting to start_time descending, end_time ascending, so that long-term goals are pushed below the short-term from the same time span.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-01-04 18:42:24 +01:00
parent c43b180106
commit 7dfa1ec8b4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ function createGoalStore() {
async load(filter: GoalFilter) {
update(v => ({...v, loading: true, filter}));
const goals = await stuffLogClient.listGoals(filter);
update(v => ({...v, loading: false, stale: false, goals: goals.reverse()}));
update(v => ({...v, loading: false, stale: false, goals }));
},
}
}