fix(task): cancel loading state when creating a new task does not work
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2022-09-30 21:25:05 +02:00
parent e999b38d3b
commit 5585966584
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -383,12 +383,12 @@ export const useTaskStore = defineStore('task', {
task: createdTask,
parsedLabels: parsedTask.labels,
})
return result
} catch (e) {
throw e
} finally {
cancel()
}
return result
},
},
})