From 83081b6d6d1c887215f81003ece71f96c8a902b8 Mon Sep 17 00:00:00 2001 From: Leonel Matos Date: Mon, 16 Mar 2020 19:11:52 -0400 Subject: [PATCH] bugfix load data in tab childs after save record (#409) Co-authored-by: erp --- src/components/ADempiere/Tab/tabChildren.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/ADempiere/Tab/tabChildren.vue b/src/components/ADempiere/Tab/tabChildren.vue index d91316da..01fad440 100644 --- a/src/components/ADempiere/Tab/tabChildren.vue +++ b/src/components/ADempiere/Tab/tabChildren.vue @@ -64,7 +64,7 @@ export default { }, watch: { '$route.query.tabChild'(actionValue) { - if (this.isEmptyValue(actionValue) || actionValue === 'create-new') { + if (this.isEmptyValue(actionValue)) { this.currentTabChild = '0' return } @@ -93,6 +93,9 @@ export default { }, mounted() { this.setCurrentTabChild() + if (this.isReadyFromGetData) { + this.getDataTable() + } }, methods: { setCurrentTabChild() {