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") }}
|
{{ firebaseService.getUserDetails(currentUserId, "email") }}
|
||||||
</a>
|
</a>
|
||||||
<p>Phone:</p>
|
<p>Phone:</p>
|
||||||
|
@if(firebaseService.getUserDetails(currentUserId, 'phone')[0] === '') {
|
||||||
|
<span>no phone</span> } @else {
|
||||||
<a
|
<a
|
||||||
[href]="
|
[href]="
|
||||||
'tel:' + firebaseService.getUserDetails(currentUserId, 'phone')
|
'tel:' + firebaseService.getUserDetails(currentUserId, 'phone')
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ firebaseService.getUserDetails(currentUserId, "phone") }}
|
<span>{{
|
||||||
|
firebaseService.getUserDetails(currentUserId, "phone")
|
||||||
|
}}</span>
|
||||||
</a>
|
</a>
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -113,6 +113,10 @@
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
padding: 24px 0 12px 0;
|
padding: 24px 0 12px 0;
|
||||||
}
|
}
|
||||||
|
span {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
a {
|
a {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue