From c1e324f4f678d5970077eefbf6bb33f7dbef53bc Mon Sep 17 00:00:00 2001 From: Vivek Patel Date: Fri, 2 Dec 2022 13:46:59 +0530 Subject: [PATCH] Fix paging limit for report By defaulting it to zero if it's undefined or NaN. --- .../Report/Blocks/DisplayElements/Configurators/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/web/reporter/src/components/Report/Blocks/DisplayElements/Configurators/index.vue b/client/web/reporter/src/components/Report/Blocks/DisplayElements/Configurators/index.vue index 732f72b9b..97875f226 100644 --- a/client/web/reporter/src/components/Report/Blocks/DisplayElements/Configurators/index.vue +++ b/client/web/reporter/src/components/Report/Blocks/DisplayElements/Configurators/index.vue @@ -230,7 +230,7 @@ export default { this.options.datasources[this.currentConfigurableDatasourceIndex].paging = {} } - this.options.datasources[this.currentConfigurableDatasourceIndex].paging.limit = limit + this.options.datasources[this.currentConfigurableDatasourceIndex].paging.limit = limit || 0 } }, },