Browse Source

fix goal page showing the wrong date when toggled to.

main
Gisle Aune 4 years ago
parent
commit
0bbe8b4896
  1. 2
      svelte-ui/src/pages/GoalPage.svelte

2
svelte-ui/src/pages/GoalPage.svelte

@ -10,7 +10,7 @@
const mdGoalAdd: ModalData = {name: "goal.add"};
let minTime = formatFormTime($goalStore.filter.minTime || startOfWeek(new Date()));
let maxTime = formatFormTime(endOfWeek(new Date()));
let maxTime = formatFormTime($goalStore.filter.maxTime || endOfWeek(new Date()));
$: {
const min = new Date(minTime);

Loading…
Cancel
Save