From 14427cd9c755d78557735c88e924f52fa6c6f77e Mon Sep 17 00:00:00 2001 From: Peter van der Zee Date: Wed, 4 Mar 2020 10:40:17 +0100 Subject: [PATCH] fix(www): starters is already a node The `starters` array used to be an array of edges and is "now" an array of nodes so accessing `.node` is no longer necessary. So dropping the access should make it work again. Fixes #21942 Bug was introduced by #21792 --- www/src/views/starter-library/filtered-starters.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/src/views/starter-library/filtered-starters.js b/www/src/views/starter-library/filtered-starters.js index 57070b2ca8882..7ba510370d5f2 100644 --- a/www/src/views/starter-library/filtered-starters.js +++ b/www/src/views/starter-library/filtered-starters.js @@ -82,8 +82,8 @@ export default class FilteredStarterLibrary extends Component { ) if (urlState.s.length > 0) { - starterNodes = starterNodes.filter(starter => - JSON.stringify(starter.node) + starterNodes = starterNodes.filter(node => + JSON.stringify(node) .toLowerCase() .includes(urlState.s.toLowerCase()) )