Refactor: Minor code refactoring in accordance with Vue.js best practices (#368)

This commit is contained in:
James George
2019-12-16 18:23:14 +05:30
committed by Pranav Raj S
parent 17587d8a0c
commit 87fb1adab1
14 changed files with 23 additions and 27 deletions

View File

@@ -22,7 +22,7 @@
:label="data.attachment.fallback_title"
:readable-time="readableTime"
/>
<i v-if="data.message_type === 2" class="icon ion-person"></i>
<i v-if="data.message_type === 2" class="icon ion-person" />
<bubble-text
v-if="data.content"
:message="message"
@@ -34,7 +34,7 @@
class="icon ion-android-lock"
@mouseenter="isHovered = true"
@mouseleave="isHovered = false"
></i>
/>
</p>
</div>
<!-- <img v-if="showSenderData" src="https://chatwoot-staging.s3-us-west-2.amazonaws.com/uploads/avatar/contact/3415/thumb_10418362_10201264050880840_6087258728802054624_n.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAI3KBM2ES3VRHQHPQ%2F20170422%2Fus-west-2%2Fs3%2Faws4_request&amp;X-Amz-Date=20170422T075421Z&amp;X-Amz-Expires=604800&amp;X-Amz-SignedHeaders=host&amp;X-Amz-Signature=8d5ff60e41415515f59ff682b9a4e4c0574d9d9aabfeff1dc5a51087a9b49e03" class="sender--thumbnail"> -->