|
@ -5,6 +5,7 @@ import Checkbox from "../components/Checkbox.svelte"; |
|
|
import goalStore, { fpGoalStore } from "../stores/goal"; |
|
|
import goalStore, { fpGoalStore } from "../stores/goal"; |
|
|
import modalStore from "../stores/modal"; |
|
|
import modalStore from "../stores/modal"; |
|
|
import projectStore, { fpProjectStore } from "../stores/project"; |
|
|
import projectStore, { fpProjectStore } from "../stores/project"; |
|
|
|
|
|
import taskStore, { fpTaskStore } from "../stores/tasks"; |
|
|
import { formatFormTime } from "../utils/time"; |
|
|
import { formatFormTime } from "../utils/time"; |
|
|
|
|
|
|
|
|
const md = $modalStore; |
|
|
const md = $modalStore; |
|
@ -29,6 +30,8 @@ import Checkbox from "../components/Checkbox.svelte"; |
|
|
fpProjectStore.markStale(); |
|
|
fpProjectStore.markStale(); |
|
|
goalStore.markStale(); |
|
|
goalStore.markStale(); |
|
|
fpGoalStore.markStale(); |
|
|
fpGoalStore.markStale(); |
|
|
|
|
|
taskStore.markStale(); |
|
|
|
|
|
fpTaskStore.markStale(); |
|
|
modalStore.close(); |
|
|
modalStore.close(); |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
error = err.message ? err.message : err.toString(); |
|
|
error = err.message ? err.message : err.toString(); |
|
|