diff --git a/packages/app-project/src/shared/components/CollectionsModal/components/SelectCollection/SelectCollection.js b/packages/app-project/src/shared/components/CollectionsModal/components/SelectCollection/SelectCollection.js index 10c89cc1163..b9b846b20dd 100644 --- a/packages/app-project/src/shared/components/CollectionsModal/components/SelectCollection/SelectCollection.js +++ b/packages/app-project/src/shared/components/CollectionsModal/components/SelectCollection/SelectCollection.js @@ -25,9 +25,9 @@ function SelectCollection ({ For shorter strings, we request all your collections then filter the display names. */ - function onTextChange(text) { + async function onTextChange(text) { const search = text.trim() - onSearch({ + await onSearch({ favorite: false, current_user_roles: 'owner,collaborator,contributor', search: search.length > 3 ? search : undefined