fix: remove duplicate store assignment #2644

Merged
konrad merged 1 commits from dpschen/frontend:feature/fix-remove-duplicate-store-assignments into main 2022-11-07 11:43:20 +00:00
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',