fix: task overview
This commit is contained in:
parent
15d1e636c4
commit
b7ed70ff39
|
@ -136,7 +136,7 @@ async function addTask() {
|
||||||
// If the task has a project specified, make sure to use it
|
// If the task has a project specified, make sure to use it
|
||||||
let projectId = null
|
let projectId = null
|
||||||
if (project !== null) {
|
if (project !== null) {
|
||||||
projectId = await taskStore.findListId({project, projectId: 0})
|
projectId = await taskStore.findProjectId({project, projectId: 0})
|
||||||
}
|
}
|
||||||
|
|
||||||
const task = await taskStore.createNewTask({
|
const task = await taskStore.createNewTask({
|
||||||
|
|
|
@ -451,7 +451,7 @@ export const useTaskStore = defineStore('task', () => {
|
||||||
addLabelsToTask,
|
addLabelsToTask,
|
||||||
createNewTask,
|
createNewTask,
|
||||||
setCoverImage,
|
setCoverImage,
|
||||||
findListId,
|
findProjectId,
|
||||||
ensureLabelsExist,
|
ensureLabelsExist,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Reference in New Issue