Skip to content

Commit

Permalink
fix/ correction of dialog (#665)
Browse files Browse the repository at this point in the history
* action value correction in dialog when defined
  • Loading branch information
Diego-18 authored Mar 13, 2021
1 parent ce13f82 commit 4c1a340
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/ADempiere/Dialog/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand All @@ -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,
Expand All @@ -178,7 +178,6 @@ export default {
isProcessTableSelection: true,
routeToDelete: this.$route
})
// })
} else {
this.$store.dispatch('startProcess', {
action: action, // process metadata
Expand Down

0 comments on commit 4c1a340

Please sign in to comment.