From 2cb6af7f624538c7dbb33f0f351a0a8df77901bb Mon Sep 17 00:00:00 2001 From: "sas.fajri" Date: Tue, 12 May 2026 10:15:06 +0700 Subject: [PATCH] Update selected_transaction after save/validate in v8-all Keeps right panel buttons in sync with the new status without needing a full re-search. Co-Authored-By: Claude Sonnet 4.6 --- test/vuex/cpone-resultentry-so-others-v8-all/modules/sample.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/vuex/cpone-resultentry-so-others-v8-all/modules/sample.js b/test/vuex/cpone-resultentry-so-others-v8-all/modules/sample.js index 76267b1..0a3cc54 100644 --- a/test/vuex/cpone-resultentry-so-others-v8-all/modules/sample.js +++ b/test/vuex/cpone-resultentry-so-others-v8-all/modules/sample.js @@ -1320,6 +1320,7 @@ export default { if (idx !== -1) { transactions[idx] = { ...transactions[idx], status_name, status: rec.So_ResultEntryStatus } context.commit("update_transactions", transactions) + context.commit("update_selected_transaction", transactions[idx]) } context.commit("update_cantedit", status_name !== 'BARU') } @@ -1378,6 +1379,7 @@ export default { if (idx !== -1) { transactions[idx] = { ...transactions[idx], status_name, status: rec.So_ResultEntryStatus } context.commit("update_transactions", transactions) + context.commit("update_selected_transaction", transactions[idx]) } context.commit("update_cantedit", status_name !== 'BARU') }