From baa39230e413f9b59956c4865e80f2f642aa32a8 Mon Sep 17 00:00:00 2001 From: "Huda J. Khan" Date: Thu, 4 Apr 2019 18:47:57 -0400 Subject: [PATCH] removing check for null --- src/components/editor/PropertyTemplateOutline.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/editor/PropertyTemplateOutline.jsx b/src/components/editor/PropertyTemplateOutline.jsx index f547fd4b5..e227ba04a 100644 --- a/src/components/editor/PropertyTemplateOutline.jsx +++ b/src/components/editor/PropertyTemplateOutline.jsx @@ -43,8 +43,8 @@ export const getLookupConfigItems = (property) => { let templateConfigItems = []; templateUris.forEach(templateUri => { let configItem = getLookupConfigForTemplateUri(templateUri); - if(configItem != null) - templateConfigItems.push(configItem); + //TODO: Handle when this is undefined? + templateConfigItems.push(configItem); }); return templateConfigItems; }