fix: remove duplicate store assignment
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Dominik Pschenitschni 2022-11-07 12:11:29 +01:00
parent 66e60a4e6a
commit f712e66335
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
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',