diff --git a/public/js/apps/Cis/ProfilUpdateRequests.js b/public/js/apps/Cis/ProfilUpdateRequests.js index 411ac425b..fb810652c 100755 --- a/public/js/apps/Cis/ProfilUpdateRequests.js +++ b/public/js/apps/Cis/ProfilUpdateRequests.js @@ -118,6 +118,7 @@ const app = Vue.createApp({ label: " Show Request", action: (e, column) => { this.showModal(column.getData()); + }, } ); @@ -231,6 +232,8 @@ const app = Vue.createApp({ //? refetches the data, if any request was denied or accepted //* setData will call the ajaxURL again to refresh the data this.$refs.UpdatesTable.tabulator.setData(); + }).catch(err=>{ + }) }, diff --git a/public/js/components/Cis/Profil/ProfilComponents/EditAdresse.js b/public/js/components/Cis/Profil/ProfilComponents/EditAdresse.js index 039a008f1..f3140452d 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/EditAdresse.js +++ b/public/js/components/Cis/Profil/ProfilComponents/EditAdresse.js @@ -18,6 +18,18 @@ export default { }, }, computed:{ + ortLayoutClasses: function(){ + return this.showKontaktTyp?[ + 'col-12', + 'col-sm-7', + 'col-xl-12', + 'col-xxl-7', + ]:['col-12']; + }, + showKontaktTyp: function(){ + let kontaktTypen = ["Nebenwohnsitz","Hauptwohnsitz"]; + return kontaktTypen.includes(this.data.typ) || !this.data.typ + }, isChanged: function(){ if(!this.data.strasse || !this.data.plz || !this.data.ort || !this.data.typ){ @@ -34,7 +46,6 @@ export default {