fix: task overview

This commit is contained in:
kolaente 2023-01-17 22:44:36 +01:00
parent 15d1e636c4
commit b7ed70ff39
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 2 additions and 2 deletions

View File

@ -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({

View File

@ -451,7 +451,7 @@ export const useTaskStore = defineStore('task', () => {
addLabelsToTask,
createNewTask,
setCoverImage,
findListId,
findProjectId,
ensureLabelsExist,
}
})