From 9f10ac9e96ed6fe90cfba0797348055afcd2b44e Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Mon, 24 Nov 2025 13:45:04 +0100 Subject: [PATCH] Enhance BranchSelection component to force re-render on branch list change - Added a computed property `branchesKey` to generate a unique key based on branch IDs, ensuring the dropdown re-renders when the branch list updates. - Updated the FormattedDropdown component to utilize this key for improved responsiveness to data changes. --- frontend/src/components/falukant/BranchSelection.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/components/falukant/BranchSelection.vue b/frontend/src/components/falukant/BranchSelection.vue index 8eb04d0..5bcae5a 100644 --- a/frontend/src/components/falukant/BranchSelection.vue +++ b/frontend/src/components/falukant/BranchSelection.vue @@ -3,6 +3,7 @@

{{ $t('falukant.branch.selection.title') }}

b.id).join('-'); + }, + }, watch: { selectedBranch(newVal) { this.localSelectedBranch = newVal;