From 61e6ad063a08e05b67c3dff489f71b7b8dd1cc37 Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Tue, 17 Sep 2024 09:28:11 +0200 Subject: [PATCH] solves Telefon displaying as null for some benutzer --- public/js/components/Cis/Profil/MitarbeiterProfil.js | 6 ++---- public/js/components/Cis/Profil/MitarbeiterViewProfil.js | 6 ++---- .../Cis/Profil/ProfilComponents/RoleInformation.js | 4 ++-- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/public/js/components/Cis/Profil/MitarbeiterProfil.js b/public/js/components/Cis/Profil/MitarbeiterProfil.js index 5798df630..ed577442c 100755 --- a/public/js/components/Cis/Profil/MitarbeiterProfil.js +++ b/public/js/components/Cis/Profil/MitarbeiterProfil.js @@ -226,10 +226,8 @@ export default { Geburtsdatum: this.data.gebdatum, Geburtsort: this.data.gebort, Kurzzeichen: this.data.kurzbz, - Telefon: - (this.data.standort_telefon ? this.data.standort_telefon : "") + - " " + - this.data.telefonklappe, + Telefon: + (this.data.standort_telefon ? this.data.standort_telefon + " " + this.data.telefonklappe : this.data.telefonklappe), Büro: this.data.ort_kurzbz, }; }, diff --git a/public/js/components/Cis/Profil/MitarbeiterViewProfil.js b/public/js/components/Cis/Profil/MitarbeiterViewProfil.js index 6e4b504f6..4d41b21c5 100755 --- a/public/js/components/Cis/Profil/MitarbeiterViewProfil.js +++ b/public/js/components/Cis/Profil/MitarbeiterViewProfil.js @@ -123,10 +123,8 @@ export default { Geburtsdatum: this.data.gebdatum, Geburtsort: this.data.gebort, Kurzzeichen: this.data.kurzbz, - Telefon: - (this.data.standort_telefon ? this.data.standort_telefon : "") + - " " + - this.data.telefonklappe, + Telefon: + (this.data.standort_telefon ? this.data.standort_telefon + " " + this.data.telefonklappe : this.data.telefonklappe), Büro: this.data.ort_kurzbz, }; }, diff --git a/public/js/components/Cis/Profil/ProfilComponents/RoleInformation.js b/public/js/components/Cis/Profil/ProfilComponents/RoleInformation.js index 32c6d286c..26fb06876 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/RoleInformation.js +++ b/public/js/components/Cis/Profil/ProfilComponents/RoleInformation.js @@ -22,7 +22,7 @@ export default {
- {{title}} + {{title}}
@@ -32,7 +32,7 @@ export default {
{{bez }}
- {{wert?wert:'-'}} + {{wert?wert:'-'}} {{wert?wert:'-'}}