From 40512edef0905d76000f36507a960e23e9e924c6 Mon Sep 17 00:00:00 2001 From: ma0068 Date: Mon, 13 Oct 2025 16:46:29 +0200 Subject: [PATCH] add emit redirect to reload parent --- public/js/components/DetailHeader/DetailHeader.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/js/components/DetailHeader/DetailHeader.js b/public/js/components/DetailHeader/DetailHeader.js index ba88eb31f..0378e8e9a 100644 --- a/public/js/components/DetailHeader/DetailHeader.js +++ b/public/js/components/DetailHeader/DetailHeader.js @@ -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);