review changes

This commit is contained in:
fayazara 2022-12-19 13:51:11 +05:30
parent 812c84e2b1
commit f328489068
2 changed files with 6 additions and 5 deletions

View file

@ -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);

View file

@ -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',