mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-16 22:42:16 +00:00
solves Telefon displaying as null for some benutzer
This commit is contained in:
@@ -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,
|
||||
};
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
},
|
||||
|
||||
@@ -22,7 +22,7 @@ export default {
|
||||
<div class="card">
|
||||
|
||||
<div class="card-header">
|
||||
{{title}}
|
||||
{{title}}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="gy-3 row">
|
||||
@@ -32,7 +32,7 @@ export default {
|
||||
<div class="form-underline-titel">{{bez }}</div>
|
||||
|
||||
<!-- print Telefon link -->
|
||||
<a v-if="bez=='Telefon'" :href="data.Telefon?'tel:'+data.Telefon:''" class="form-underline-content">{{wert?wert:'-'}}</a>
|
||||
<a v-if="bez=='Telefon'" :href="data.Telefon?'tel:'+data.Telefon:null" :class="{'form-underline-content':true,'text-decoration-none':!data.Telefon,'text-body':!data.Telefon}">{{wert?wert:'-'}}</a>
|
||||
|
||||
<!-- else print information -->
|
||||
<span v-else class="form-underline-content">{{wert?wert:'-'}}</span>
|
||||
|
||||
Reference in New Issue
Block a user