Add watcher for branchId in DirectorInfo component: Implemented a watcher to trigger loadDirector method when branchId changes, enhancing data responsiveness in the UI.

This commit is contained in:
Torsten Schulz (local)
2026-02-04 15:44:16 +01:00
parent 2184c4a7e1
commit 8d23453371

View File

@@ -210,6 +210,14 @@ export default {
},
};
},
watch: {
branchId: {
immediate: false,
handler() {
this.loadDirector();
},
},
},
async mounted() {
await this.loadDirector();
},