Skip to content

Commit 2ca3168

Browse files
committed
Update eventsFactory.js
1 parent 6b13f6c commit 2ca3168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/eventsFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class EventsFactory extends Factory {
192192
},
193193
];
194194

195-
const searchFilter = search
195+
const searchFilter = search.trim().length > 0
196196
? {
197197
$or: [
198198
{

0 commit comments

Comments
 (0)