From 31002bfab1a865f4f29f21f61cd2aa0868ac10db Mon Sep 17 00:00:00 2001 From: ANSINGH Date: Thu, 27 Jul 2023 15:33:19 -0700 Subject: [PATCH 1/3] items per page footer update --- frontend/src/components/institute/AuthoritiesList.vue | 5 ++++- frontend/src/components/institute/SchoolList.vue | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/institute/AuthoritiesList.vue b/frontend/src/components/institute/AuthoritiesList.vue index 36e2d17d7..2a5e4920d 100644 --- a/frontend/src/components/institute/AuthoritiesList.vue +++ b/frontend/src/components/institute/AuthoritiesList.vue @@ -132,8 +132,8 @@ id="user-search-button" class="ml-3" text="Search" - @click-action="searchButtonClick" :disabled="!searchEnabled()" + @click-action="searchButtonClick" /> @@ -562,4 +562,7 @@ export default { margin-right: -2em; } +:deep(.v-data-table-footer__items-per-page) { + display: none; +} diff --git a/frontend/src/components/institute/SchoolList.vue b/frontend/src/components/institute/SchoolList.vue index e9d354c3f..555e85fa1 100644 --- a/frontend/src/components/institute/SchoolList.vue +++ b/frontend/src/components/institute/SchoolList.vue @@ -258,8 +258,8 @@ class="ml-3" width="8em" text="Search" - @click-action="searchButtonClick" :disabled="!searchEnabled()" + @click-action="searchButtonClick" /> @@ -875,4 +875,8 @@ export default { margin-right: -2em; } +:deep(.v-data-table-footer__items-per-page) { + display: none; +} + From f6ce5daf29fed196adb38ca8a4f1c70dde630868 Mon Sep 17 00:00:00 2001 From: ANSINGH Date: Thu, 27 Jul 2023 15:46:30 -0700 Subject: [PATCH 2/3] removed footer-props --- frontend/src/components/institute/SchoolList.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/src/components/institute/SchoolList.vue b/frontend/src/components/institute/SchoolList.vue index 555e85fa1..d3a4a3720 100644 --- a/frontend/src/components/institute/SchoolList.vue +++ b/frontend/src/components/institute/SchoolList.vue @@ -273,9 +273,6 @@ v-model:page="pageNumber" v-model:items="schools" v-model:items-length="totalSchools" - :footer-props="{ - 'items-per-page-options': itemsPerPageOptions - }" :loading="loadingTable" class="elevation-1" hide-default-header From 43d2fdc7818dd1899915a06e3e1cd649a7b74dce Mon Sep 17 00:00:00 2001 From: ANSINGH Date: Thu, 27 Jul 2023 15:59:59 -0700 Subject: [PATCH 3/3] removed itemsPerPageOptions --- frontend/src/components/institute/AuthoritiesList.vue | 4 ---- frontend/src/components/institute/SchoolList.vue | 1 - 2 files changed, 5 deletions(-) diff --git a/frontend/src/components/institute/AuthoritiesList.vue b/frontend/src/components/institute/AuthoritiesList.vue index 2a5e4920d..74670b73e 100644 --- a/frontend/src/components/institute/AuthoritiesList.vue +++ b/frontend/src/components/institute/AuthoritiesList.vue @@ -147,9 +147,6 @@ v-model:page="pageNumber" v-model:items="authorities" v-model:items-length="totalAuthorities" - :footer-props="{ - 'items-per-page-options': itemsPerPageOptions - }" :loading="loadingTable" class="elevation-1" hide-default-header @@ -303,7 +300,6 @@ export default { pageNumber: 1, pageSize: 15, totalAuthorities: 0, - itemsPerPageOptions: [15], loadingTable: false, dateMenu: false, headerSearchParams: { diff --git a/frontend/src/components/institute/SchoolList.vue b/frontend/src/components/institute/SchoolList.vue index d3a4a3720..e89807e1b 100644 --- a/frontend/src/components/institute/SchoolList.vue +++ b/frontend/src/components/institute/SchoolList.vue @@ -442,7 +442,6 @@ export default { pageNumber: 1, pageSize: 15, totalSchools: 0, - itemsPerPageOptions: [15], loadingTable: false, dateMenu: false, headerSearchParams: {