Skip to content

Commit

Permalink
OM-98: fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
olewandowski1 committed Dec 14, 2023
1 parent 1f74a5e commit 614c822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pickers/WorkerMultiplePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function WorkerMultiplePicker({
}, [previousWorkersChecked, data]);

const filterOptions = (options) => {
if (!searchString || (!previousWorkersChecked && searchString.length < WORKER_THRESHOLD)) {
if (!searchString && (!previousWorkersChecked && searchString.length < WORKER_THRESHOLD)) {
return [];
}

Expand Down

0 comments on commit 614c822

Please sign in to comment.