From 3059e99b414682a8d17ed77908e021a8c8746abd Mon Sep 17 00:00:00 2001 From: Peter Goes Date: Fri, 30 Jul 2021 11:51:09 +0200 Subject: [PATCH 1/3] limit measures in list --- src/client/components/measure-list/measure-list.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/measure-list/measure-list.vue b/src/client/components/measure-list/measure-list.vue index 69ebcda0..f3d89163 100644 --- a/src/client/components/measure-list/measure-list.vue +++ b/src/client/components/measure-list/measure-list.vue @@ -227,7 +227,7 @@ export default { .filter(measure => measure.title.match(searchRE)) .filter(measure => measure.measureId !== '0') - return searchFiltered(this.featureSorted) + return searchFiltered(this.featureSorted).filter((item, index) => index < 10) }, }, methods: { From 1ced338d9ec3235cacf8ece3de08c1c3af2e1e02 Mon Sep 17 00:00:00 2001 From: Peter Goes Date: Fri, 30 Jul 2021 12:22:21 +0200 Subject: [PATCH 2/3] Add pagination to measures list --- .../components/measure-list/measure-list.vue | 32 +++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/src/client/components/measure-list/measure-list.vue b/src/client/components/measure-list/measure-list.vue index f3d89163..124d3da9 100644 --- a/src/client/components/measure-list/measure-list.vue +++ b/src/client/components/measure-list/measure-list.vue @@ -122,7 +122,7 @@ +