diff --git a/app/javascript/dashboard/components/widgets/TableFooter.vue b/app/javascript/dashboard/components/widgets/TableFooter.vue index b4123f433..c951aad60 100644 --- a/app/javascript/dashboard/components/widgets/TableFooter.vue +++ b/app/javascript/dashboard/components/widgets/TableFooter.vue @@ -12,39 +12,41 @@ v-if="totalCount" class="primary button-group pagination-button-group" > - - - - - + @@ -91,35 +93,19 @@ export default { this.currentPage === Math.ceil(this.totalCount / this.pageSize); return isDisabled; }, - lastPageButtonClass() { - const className = this.hasLastPage ? 'disabled' : ''; - return className; - }, hasFirstPage() { const isDisabled = this.currentPage === 1; return isDisabled; }, - firstPageButtonClass() { - const className = this.hasFirstPage ? 'disabled' : ''; - return className; - }, hasNextPage() { const isDisabled = this.currentPage === Math.ceil(this.totalCount / this.pageSize); return isDisabled; }, - nextPageButtonClass() { - const className = this.hasNextPage ? 'disabled' : ''; - return className; - }, hasPrevPage() { const isDisabled = this.currentPage === 1; return isDisabled; }, - prevPageButtonClass() { - const className = this.hasPrevPage ? 'disabled' : ''; - return className; - }, }, methods: { onNextPage() { diff --git a/app/javascript/dashboard/routes/dashboard/contacts/components/Header.vue b/app/javascript/dashboard/routes/dashboard/contacts/components/Header.vue index 2c6b2d63b..f96e75077 100644 --- a/app/javascript/dashboard/routes/dashboard/contacts/components/Header.vue +++ b/app/javascript/dashboard/routes/dashboard/contacts/components/Header.vue @@ -17,18 +17,22 @@ @keyup.enter="onSearchSubmit" @input="onInputSearch" /> - + > + {{ $t('CONTACTS_PAGE.SEARCH_BUTTON') }} + - +