From 4c1a34077dec338727f8ddfc98e6928578bb3964 Mon Sep 17 00:00:00 2001 From: Diego Chavez <40433474+Diego-18@users.noreply.github.com> Date: Sat, 13 Mar 2021 11:14:46 -0400 Subject: [PATCH] fix/ correction of dialog (#665) * action value correction in dialog when defined --- src/components/ADempiere/Dialog/index.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/ADempiere/Dialog/index.vue b/src/components/ADempiere/Dialog/index.vue index 9727c808..aeeb8e1e 100644 --- a/src/components/ADempiere/Dialog/index.vue +++ b/src/components/ADempiere/Dialog/index.vue @@ -146,7 +146,7 @@ export default { } }, () => {}) this.closeDialog() - } else if (action !== undefined) { + } else if (!this.isEmptyValue(action)) { const fieldNotReady = this.$store.getters.isNotReadyForSubmit(action.uuid) if (this.panelType === 'From') { this.$store.dispatch('processPos', { @@ -167,7 +167,7 @@ export default { const porcesTabla = this.$store.getters.getProcessSelect.processTablaSelection const selection = this.$store.getters.getProcessSelect if (porcesTabla) { - // selection.forEach(element => { + // manage excecute process with records selection this.$store.dispatch('selectionProcess', { action: action, // process metadata parentUuid: this.parentUuid, @@ -178,7 +178,6 @@ export default { isProcessTableSelection: true, routeToDelete: this.$route }) - // }) } else { this.$store.dispatch('startProcess', { action: action, // process metadata