add emit redirect to reload parent

This commit is contained in:
ma0068
2025-10-13 16:46:29 +02:00
parent e9c039dad2
commit 40512edef0
@@ -118,6 +118,13 @@ export default {
},
async goToLeitung() {
this.loadHeaderData(this.leitungData.person_id, this.leitungData.uid);
this.redirectToLeitung();
},
redirectToLeitung() {
this.$emit('redirect', {
person_id: this.leitungData.person_id,
uid: this.leitungData.uid
});
},
showModal(person_id){
this.$refs.modalFoto.open(person_id);