don't edit stack title when dragging

Signed-off-by: Simon Hötten <s+git@hoetten.org>
This commit is contained in:
Simon Hötten
2022-11-07 19:54:25 +01:00
committed by Julius Härtl
parent 0ae73b57d5
commit 467a3a454e
2 changed files with 12 additions and 1 deletions
+8
View File
@@ -171,6 +171,10 @@ export default {
ClickOutside,
},
props: {
dragging: {
type: Boolean,
default: false,
},
stack: {
type: Object,
default: undefined,
@@ -270,6 +274,10 @@ export default {
this.modalArchivAllCardsShow = false
},
startEditing(stack) {
if (this.dragging) {
return
}
this.copiedStack = Object.assign({}, stack)
this.editing = true
},