display txt, if no phone number available
This commit is contained in:
parent
19f27f6c43
commit
2a9b0f248d
2 changed files with 10 additions and 1 deletions
|
|
@ -64,13 +64,18 @@
|
|||
{{ firebaseService.getUserDetails(currentUserId, "email") }}
|
||||
</a>
|
||||
<p>Phone:</p>
|
||||
@if(firebaseService.getUserDetails(currentUserId, 'phone')[0] === '') {
|
||||
<span>no phone</span> } @else {
|
||||
<a
|
||||
[href]="
|
||||
'tel:' + firebaseService.getUserDetails(currentUserId, 'phone')
|
||||
"
|
||||
>
|
||||
{{ firebaseService.getUserDetails(currentUserId, "phone") }}
|
||||
<span>{{
|
||||
firebaseService.getUserDetails(currentUserId, "phone")
|
||||
}}</span>
|
||||
</a>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -113,6 +113,10 @@
|
|||
font-weight: 700;
|
||||
padding: 24px 0 12px 0;
|
||||
}
|
||||
span {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
}
|
||||
a {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
|
|
|
|||
Loading…
Reference in a new issue