fixes the profilBearbeiten phrase and does update the topic correctly when adding a new kontakt/addresse in the profil

This commit is contained in:
SimonGschnell
2024-09-12 10:47:31 +02:00
parent cfea7e10f2
commit e247621f95
3 changed files with 6 additions and 6 deletions
@@ -159,9 +159,9 @@ export default {
},
template: /*html*/ `
<bs-modal v-show="!loading" ref="modalContainer" v-bind="$props" body-class="" dialog-class="modal-lg" class="bootstrap-alert" backdrop="false" >
<template v-if="title" v-slot:title>
{{title }}
{{title }}
</template>
<template v-slot:default>
<div >
@@ -45,7 +45,7 @@ export default {
view: null,
data: null,
breadcrumbItems: [],
topic: null,
topic: this.topic,
properties: null,
};
},
@@ -56,7 +56,7 @@ export default {
this.topic == this.profilUpdateTopic["Private Kontakte"]
? "EditKontakt"
: "EditAdresse";
//? updates the topic when a Kontakt or an Address should be added
this.topic =
this.topic == this.profilUpdateTopic["Private Kontakte"]
@@ -187,10 +187,10 @@ export default {
template: /*html*/ `
template: /*html*/ `
<div class="container-fluid text-break fhc-form" >
<edit-profil v-if="showModal" ref="editModal" @hideBsModal="hideEditProfilModal" :value="JSON.parse(JSON.stringify(filteredEditData))" title="$p.t('profil','profilBearbeiten')" ></edit-profil>
<edit-profil v-if="showModal" ref="editModal" @hideBsModal="hideEditProfilModal" :value="JSON.parse(JSON.stringify(filteredEditData))" :title="p.t('profil','profilBearbeiten')" ></edit-profil>
<!-- ROW -->
<div class="row">
<!-- HIDDEN QUICK LINKS -->