Don't trigger action when renamingpull/46017/head
this.actionsMenuStore.opened = opened ? this.uniqueId.toString() : null | this.actionsMenuStore.opened = opened ? this.uniqueId.toString() : null | ||||
}, | }, | ||||
}, | }, | ||||
isRenaming() { | |||||
return this.renamingStore.renamingNode === this.source | |||||
}, | |||||
}, | }, | ||||
watch: { | watch: { | ||||
}, | }, | ||||
execDefaultAction(event) { | execDefaultAction(event) { | ||||
// Ignore click if we are renaming | |||||
if (this.isRenaming) { | |||||
return | |||||
} | |||||
// Ignore right click. | // Ignore right click. | ||||
if (event.button > 1) { | if (event.button > 1) { | ||||
return | return |