diff --git a/Makefile b/Makefile index 274c3d3..f97671d 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,10 @@ client/dist/index.html: build-client: client/dist/index.html start-server: build-client + -mkdir db.mount docker compose up --build -d clean: docker compose down - rm -r server/public/ client/dist/ + -rm -r server/public/ client/dist/ + diff --git a/client/src/components/NavBar.vue b/client/src/components/NavBar.vue index e11af91..145a817 100644 --- a/client/src/components/NavBar.vue +++ b/client/src/components/NavBar.vue @@ -1,5 +1,7 @@ \ No newline at end of file + diff --git a/client/src/components/TickComponent.vue b/client/src/components/TickComponent.vue index 8b1d863..47d57e0 100644 --- a/client/src/components/TickComponent.vue +++ b/client/src/components/TickComponent.vue @@ -15,8 +15,8 @@ const className = computed(() => isSet.value ? "button is-rounded is-info" : "bu async function toggle() { if (isSet.value) { - await state.taskMarkedIncomplete(props.track, props.date) + await props.track.markIncomplete(props.date) } else - await state.taskCompleted(props.track, props.date) + await props.track.markComplete(props.date) } \ No newline at end of file diff --git a/client/src/components/TrackIcon.vue b/client/src/components/TrackIcon.vue index 273987e..e5aeabf 100644 --- a/client/src/components/TrackIcon.vue +++ b/client/src/components/TrackIcon.vue @@ -1,12 +1,12 @@