diff --git a/Makefile b/Makefile index f97671d..274c3d3 100644 --- a/Makefile +++ b/Makefile @@ -7,10 +7,8 @@ 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 145a817..e11af91 100644 --- a/client/src/components/NavBar.vue +++ b/client/src/components/NavBar.vue @@ -1,7 +1,5 @@ + \ No newline at end of file diff --git a/client/src/components/TickComponent.vue b/client/src/components/TickComponent.vue index 47d57e0..8b1d863 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 props.track.markIncomplete(props.date) + await state.taskMarkedIncomplete(props.track, props.date) } else - await props.track.markComplete(props.date) + await state.taskCompleted(props.track, props.date) } \ No newline at end of file diff --git a/client/src/components/TrackIcon.vue b/client/src/components/TrackIcon.vue index e5aeabf..273987e 100644 --- a/client/src/components/TrackIcon.vue +++ b/client/src/components/TrackIcon.vue @@ -1,12 +1,12 @@