Move Project

This commit is contained in:
Paolo Arena
2019-04-27 20:12:41 +02:00
parent d2cae3cc32
commit 2ba3cd6b3f
11 changed files with 217 additions and 26 deletions

View File

@@ -324,7 +324,7 @@ export default class SingleProject extends Vue {
}
// console.log('focus()')
}, 500)
}, 400)
}
public getFocus(e) {
@@ -486,6 +486,12 @@ export default class SingleProject extends Vue {
return await this.enableExpiring()
} else if (action === tools.MenuAction.EDIT) {
this.activeEdit()
} else if (action === tools.MenuAction.CUT) {
const myaction = {
type: tools.MenuAction.CUT,
_id: this.itemproject._id
}
return await Projects.actions.ActionCutPaste(myaction)
} else if (action === 0) {
this.deselectAndExitEdit()
}