fix: Show inbox name only if more > 1 inbox present (#2004)
This commit is contained in:
parent
bbf74f218f
commit
1ce36539aa
1 changed files with 6 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
size="40px"
|
||||
/>
|
||||
<div class="conversation--details columns">
|
||||
<span v-if="showInboxName" v-tooltip.bottom="inboxName" class="label">
|
||||
<span v-if="showInboxName" class="label">
|
||||
<i :class="computedInboxClass" />
|
||||
{{ inboxName }}
|
||||
</span>
|
||||
|
@ -161,7 +161,11 @@ export default {
|
|||
},
|
||||
|
||||
showInboxName() {
|
||||
return !this.hideInboxName && this.isInboxNameVisible;
|
||||
return (
|
||||
!this.hideInboxName &&
|
||||
this.isInboxNameVisible &&
|
||||
this.inboxesList.length > 1
|
||||
);
|
||||
},
|
||||
inboxName() {
|
||||
const stateInbox = this.chatInbox;
|
||||
|
|
Loading…
Reference in a new issue