fix: remove duplicate store assignment (#2644)
continuous-integration/drone/push Build is passing Details

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #2644
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
Dominik Pschenitschni 2022-11-07 11:43:19 +00:00 committed by konrad
parent 6a93701649
commit 38cef79f68
2 changed files with 0 additions and 2 deletions

View File

@ -128,7 +128,6 @@ async function createAndAddLabel(title: string) {
return
}
const labelStore = useLabelStore()
const newLabel = await labelStore.createLabel(new LabelModel({title}))
addLabel(newLabel, false)
labels.value.push(newLabel)

View File

@ -65,7 +65,6 @@ async function newLabel() {
}
showError.value = false
const labelStore = useLabelStore()
const newLabel = await labelStore.createLabel(label.value)
router.push({
name: 'labels.index',