diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-09-28 17:30:16 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-09-28 17:30:16 +0200 |
commit | 9f49853d5fefaf26597c8da992b47bb801b2f066 (patch) | |
tree | 0440b2dfe70945ecde340a963791d56fed9faf3b | |
parent | cdb540fc05cf2b196f788ac6d228b47831e2dfb9 (diff) |
Disable photo fetching on all contacts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | src/components/ContentList/ContentListItem.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ContentList/ContentListItem.vue b/src/components/ContentList/ContentListItem.vue index f7ecd1db..c2b69797 100644 --- a/src/components/ContentList/ContentListItem.vue +++ b/src/components/ContentList/ContentListItem.vue @@ -10,7 +10,7 @@ <div :style="{ 'backgroundColor': colorAvatar }" class="app-content-list-item-icon"> {{ contact.displayName | firstLetter }} <!-- try to fetch the avatar only if the contact exists on the server --> - <!-- <div v-if="contact.dav" :style="{ 'backgroundImage': avatarUrl }" class="app-content-list-item-icon__avatar" /> --> + <div v-if="contact.photo && contact.dav" :style="{ 'backgroundImage': avatarUrl }" class="app-content-list-item-icon__avatar" /> </div> <div class="app-content-list-item-line-one">{{ contact.displayName }}</div> <div v-if="contact.email" class="app-content-list-item-line-two">{{ contact.email }}</div> |