Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Fix: Save When Editing Mnemonic Command
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricargame committed Nov 14, 2024
1 parent 322bd88 commit 00e18a0
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/components/ADempiere/TabManager/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1050,14 +1050,12 @@ export default defineComponent({

store.dispatch('fieldListInfo', { info })
const currentRoute = router.app._route
let recordId = -1
const recordUuid = store.getters.getUuidOfContainer(currentTab.containerUuid)
const currentReccord = store.getters.getTabCurrentRow({
containerUuid: currentTab.containerUuid
})
if (!isEmptyValue(currentReccord[currentTab.table_name + '_ID'])) {
recordId = currentReccord[currentTab.table_name + '_ID']
}
const recordUuid = store.getters.getUuidOfContainer(currentTab.containerUuid)
let recordId = -1
if (!isEmptyValue(currentReccord[currentTab.table_name + '_ID'])) recordId = currentReccord[currentTab.table_name + '_ID']
store.dispatch('flushPersistenceQueue', {
parentUuid: currentTab.parentUuid,
containerUuid: currentTab.containerUuid,
Expand All @@ -1073,9 +1071,7 @@ export default defineComponent({
params
} = currentRoute
let id = query.recordId
if (!isEmptyValue(response)) {
id = response.id
}
if (!isEmptyValue(response)) id = response.id
// refresh parent tab on document window
if (!currentTab.isParentTab) {
const { firstTabUuid } = currentTab
Expand Down

0 comments on commit 00e18a0

Please sign in to comment.