From f4d930df20fddf593f1a4e92c771c921d72e6010 Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Wed, 28 Sep 2022 22:16:31 -0400 Subject: [PATCH] fix: collection new button not appearing --- .../netlify-cms-core/src/components/Collection/Collection.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/netlify-cms-core/src/components/Collection/Collection.tsx b/packages/netlify-cms-core/src/components/Collection/Collection.tsx index 73efaec1..7cb81ed4 100644 --- a/packages/netlify-cms-core/src/components/Collection/Collection.tsx +++ b/packages/netlify-cms-core/src/components/Collection/Collection.tsx @@ -92,6 +92,7 @@ const CollectionView = ({ url = `${newEntryUrl}?path=${filterTerm}`; } } + return url; }, [collection, collectionName, filterTerm]); const searchResultKey = useMemo(