Browse Source

limit future and past goals on front page.

main
Gisle Aune 4 years ago
parent
commit
62cb58cadc
  1. 6
      svelte-ui/src/pages/FrontPage.svelte

6
svelte-ui/src/pages/FrontPage.svelte

@ -13,8 +13,8 @@
$: {
if ($fpGoalStore.stale && !$fpGoalStore.loading) {
fpGoalStore.load({
maxTime: new Date(Date.now() + (86400000 * 30)),
minTime: new Date(Date.now() - (86400000 * 3)),
maxTime: new Date(Date.now() + (86400000 * 3)),
minTime: new Date(),
});
}
}
@ -123,4 +123,4 @@
margin: auto;
}
}
</style>
</style>
Loading…
Cancel
Save