Skip to content

Commit

Permalink
fix: Get logo by property app in attendant
Browse files Browse the repository at this point in the history
  • Loading branch information
ktquez committed Jun 21, 2020
1 parent c6d3eba commit fd65e8f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/ListChat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
>
<span
class="vsc-popup-body__link-avatar-brand"
:style="props.logo ? `background-image: url(https://raw.githubusercontent.com/ktquez/vue-social-chat/master/src/logos/${props.logo}.png)` : ''"
:style="attendant.app ? `background-image: url(https://raw.githubusercontent.com/ktquez/vue-social-chat/master/src/logos/${attendant.app}.png)` : ''"
/>
</div>
<div class="vsc-popup-body__link-info">
Expand All @@ -42,10 +42,6 @@ export default {
name: 'ListChat',
props: {
logo: {
type: String,
default: null
},
attendants: {
type: Array,
default: () => ([])
Expand Down

0 comments on commit fd65e8f

Please sign in to comment.