don't edit stack title when dragging
Signed-off-by: Simon Hötten <s+git@hoetten.org>
This commit is contained in:
committed by
Julius Härtl
parent
0ae73b57d5
commit
467a3a454e
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user