fix(task): cancel loading state when creating a new task does not work
This commit is contained in:
parent
e999b38d3b
commit
5585966584
1 changed files with 1 additions and 1 deletions
|
@ -383,12 +383,12 @@ export const useTaskStore = defineStore('task', {
|
|||
task: createdTask,
|
||||
parsedLabels: parsedTask.labels,
|
||||
})
|
||||
return result
|
||||
} catch (e) {
|
||||
throw e
|
||||
} finally {
|
||||
cancel()
|
||||
}
|
||||
return result
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue