From a4b0fb3f442ad6f2551816ac7bdb2098b3e41d2c Mon Sep 17 00:00:00 2001 From: CarliPinell Date: Mon, 20 Nov 2023 13:04:19 -0400 Subject: [PATCH] Fixing bug search empty criteria --- src/components/renderer/form-list-table.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/renderer/form-list-table.vue b/src/components/renderer/form-list-table.vue index f772152ab..d464b6736 100755 --- a/src/components/renderer/form-list-table.vue +++ b/src/components/renderer/form-list-table.vue @@ -210,7 +210,7 @@ export default { * This boolean method shows or hide elements */ toggleInput(listType) { - if (this.showInput) { + if (this.showInput && this.searchCriteria !== "") { this.performSearch(listType); } this.showInput = !this.showInput;