Updates sidebar on dashboard

This commit is contained in:
Nithin David
2020-02-11 19:21:55 +05:30
parent 30f4c08143
commit 6186d14593
20 changed files with 394 additions and 112 deletions

View File

@@ -8,7 +8,7 @@
:username="chat.meta.sender.name"
/>
<div class="user--profile__meta">
<h3 v-if="!isContactPanelOpen" class="user--name text-truncate">
<h3 class="user--name text-truncate">
{{ chat.meta.sender.name }}
</h3>
<button
@@ -93,7 +93,9 @@ export default {
];
},
viewProfileButtonLabel() {
return `${this.isContactPanelOpen ? 'Hide' : 'View'} Profile`;
return `${
this.isContactPanelOpen ? 'Close' : 'Open'
} Conversation Details`;
},
},