|
|
@ -1,10 +1,11 @@ |
|
|
|
<script lang="ts"> |
|
|
|
import stuffLogClient from "../clients/stufflog"; |
|
|
|
import Checkbox from "../components/Checkbox.svelte"; |
|
|
|
import Checkbox from "../components/Checkbox.svelte"; |
|
|
|
import Modal from "../components/Modal.svelte"; |
|
|
|
import goalStore, { fpGoalStore } from "../stores/goal"; |
|
|
|
import modalStore from "../stores/modal"; |
|
|
|
import projectStore, { fpProjectStore } from "../stores/project"; |
|
|
|
import taskStore, { fpTaskStore } from "../stores/tasks"; |
|
|
|
import { formatFormTime } from "../utils/time"; |
|
|
|
|
|
|
|
const md = $modalStore; |
|
|
@ -29,6 +30,8 @@ import Checkbox from "../components/Checkbox.svelte"; |
|
|
|
fpProjectStore.markStale(); |
|
|
|
goalStore.markStale(); |
|
|
|
fpGoalStore.markStale(); |
|
|
|
taskStore.markStale(); |
|
|
|
fpTaskStore.markStale(); |
|
|
|
modalStore.close(); |
|
|
|
}).catch(err => { |
|
|
|
error = err.message ? err.message : err.toString(); |
|
|
|