Skip to content

Commit

Permalink
removing check for null
Browse files Browse the repository at this point in the history
  • Loading branch information
hudajkhan committed Apr 4, 2019
1 parent ba58403 commit baa3923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/editor/PropertyTemplateOutline.jsx
Expand Up @@ -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;
}
Expand Down

0 comments on commit baa3923

Please sign in to comment.