review changes
This commit is contained in:
parent
812c84e2b1
commit
f328489068
2 changed files with 6 additions and 5 deletions
|
@ -49,7 +49,6 @@ export default {
|
|||
top: 0;
|
||||
padding: var(--space-small);
|
||||
background-color: var(--s-25);
|
||||
z-index: 50;
|
||||
border-bottom-width: 1px;
|
||||
border-top-width: 1px;
|
||||
border-color: var(--s-100);
|
||||
|
|
|
@ -95,15 +95,17 @@ export default {
|
|||
filterMessages() {
|
||||
return this.selectedTab === 'messages' || this.selectedTab === 'all';
|
||||
},
|
||||
totalSearchResultsCount() {
|
||||
return (
|
||||
this.contacts.length + this.conversations.length + this.messages.length
|
||||
);
|
||||
},
|
||||
tabs() {
|
||||
return [
|
||||
{
|
||||
key: 'all',
|
||||
name: this.$t('SEARCH.TABS.ALL'),
|
||||
count:
|
||||
this.contacts.length +
|
||||
this.conversations.length +
|
||||
this.messages.length,
|
||||
count: this.totalSearchResultsCount,
|
||||
},
|
||||
{
|
||||
key: 'contacts',
|
||||
|
|
Loading…
Reference in a new issue