fix bug no contact found

This commit is contained in:
edmondlang
2023-04-27 00:11:48 +08:00
parent b3b7b67c66
commit d56abc78f7
@@ -16,7 +16,8 @@
<i class="fa fa-address-card fs-12 m-b-5 muted"></i>
</div>
<div class="col p-l-5">
<div class="muted bold fs-10">+{{item.owner.contact ? item.owner.contact.country_code : '--'}} {{parseInt(item.owner.contact.phone, 10)}}</div>
<div class="muted bold fs-10" v-if="item.owner.contact">+{{item.owner.contact.country_code}} {{parseInt(item.owner.contact.phone, 10)}}</div>
<div class="muted bold fs-10" v-else></div>
</div>
</div>
</div>