Skip to content

Commit

Permalink
Revert "style(ContactsListItem): fix subtitle"
Browse files Browse the repository at this point in the history
This reverts commit 69332ad.
  • Loading branch information
GVodyanov committed Jul 19, 2024
1 parent 69332ad commit 1c1b865
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/components/ContactsList/ContactsListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
<BaseAvatar :display-name="source.displayName" :url="avatarUrl" :size="40" />
</div>
</template>
<template #subname>
<template #subtitle>
<div class="envelope__subtitle">
<span class="envelope__subtitle__subject">
{{ source.email ? source.email : getTel }}
{{ source.email }}
</span>
</div>
</template>
Expand Down Expand Up @@ -78,14 +78,6 @@ export default {
id() {
return window.btoa(this.source.key).slice(0, -2)
},
getTel() {
this.source.properties.forEach((property) => {
if (property.name === 'tel') {
return property.getFirstValue()
}
})
return null
},
},

created() {
Expand Down Expand Up @@ -176,6 +168,7 @@ export default {
gap: 4px;

&__subject {
color: var(--color-main-text);
line-height: 130%;
overflow: hidden;
text-overflow: ellipsis;
Expand Down

0 comments on commit 1c1b865

Please sign in to comment.