mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
feat: Creates component show all contact info (#2252)
* feat: Adds component to show contact fields * feat: Creates component show all contact info
This commit is contained in:
committed by
GitHub
parent
73d30b7f69
commit
d35e8cfd98
@@ -13,8 +13,8 @@
|
||||
</h2>
|
||||
<h3 class="sub-block-title contact--work">
|
||||
{{ contact.title }}
|
||||
<i v-if="contact.company.name" class="icon ion-minus-round" />
|
||||
<span class="company-name">{{ contact.company.name }}</span>
|
||||
<i v-if="company.name" class="icon ion-minus-round" />
|
||||
<span class="company-name">{{ company.name }}</span>
|
||||
</h3>
|
||||
<p v-if="additionalAttributes.description" class="contact--bio">
|
||||
{{ additionalAttributes.description }}
|
||||
@@ -69,6 +69,10 @@ export default {
|
||||
|
||||
return { twitter: twitterScreenName, ...(socialProfiles || {}) };
|
||||
},
|
||||
company() {
|
||||
const { company = {} } = this.contact;
|
||||
return company;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
onEditClick() {
|
||||
|
||||
Reference in New Issue
Block a user