From 3a6cfbae641353a9d6d7ee48501eead7301f09c2 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Sun, 8 Oct 2023 20:51:07 +0100 Subject: [PATCH] Cosmetics --- components/lib/api/FilterService.js | 1 + doc/common/apidoc/index.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/lib/api/FilterService.js b/components/lib/api/FilterService.js index ea2c6d7d3..1fb8b05cc 100644 --- a/components/lib/api/FilterService.js +++ b/components/lib/api/FilterService.js @@ -3,6 +3,7 @@ import { ObjectUtils } from 'primevue/utils'; const FilterService = { filter(value, fields, filterValue, filterMatchMode, filterLocale) { let filteredItems = []; + if (!value) { return filteredItems; } diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 8680abbb4..cb9026aaa 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -55605,4 +55605,4 @@ } } } -} \ No newline at end of file +}