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,
|
task: createdTask,
|
||||||
parsedLabels: parsedTask.labels,
|
parsedLabels: parsedTask.labels,
|
||||||
})
|
})
|
||||||
|
return result
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
throw e
|
throw e
|
||||||
} finally {
|
} finally {
|
||||||
cancel()
|
cancel()
|
||||||
}
|
}
|
||||||
return result
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue