|
@ -1,10 +1,11 @@ |
|
|
<script lang="ts"> |
|
|
<script lang="ts"> |
|
|
import stuffLogClient from "../clients/stufflog"; |
|
|
import stuffLogClient from "../clients/stufflog"; |
|
|
import Checkbox from "../components/Checkbox.svelte"; |
|
|
|
|
|
|
|
|
import Checkbox from "../components/Checkbox.svelte"; |
|
|
import Modal from "../components/Modal.svelte"; |
|
|
import Modal from "../components/Modal.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(); |
|
|