From b7ed70ff3997d2d91403df1c154151a00f97c2c8 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 17 Jan 2023 22:44:36 +0100 Subject: [PATCH] fix: task overview --- src/components/tasks/add-task.vue | 2 +- src/stores/tasks.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/tasks/add-task.vue b/src/components/tasks/add-task.vue index c26639068..834709f70 100644 --- a/src/components/tasks/add-task.vue +++ b/src/components/tasks/add-task.vue @@ -136,7 +136,7 @@ async function addTask() { // If the task has a project specified, make sure to use it let projectId = null if (project !== null) { - projectId = await taskStore.findListId({project, projectId: 0}) + projectId = await taskStore.findProjectId({project, projectId: 0}) } const task = await taskStore.createNewTask({ diff --git a/src/stores/tasks.ts b/src/stores/tasks.ts index 1b7d006d1..1f8594266 100644 --- a/src/stores/tasks.ts +++ b/src/stores/tasks.ts @@ -451,7 +451,7 @@ export const useTaskStore = defineStore('task', () => { addLabelsToTask, createNewTask, setCoverImage, - findListId, + findProjectId, ensureLabelsExist, } })