Skip to content

Commit

Permalink
- trying to fix problem in test environment where clicking on the vec…
Browse files Browse the repository at this point in the history
…tor crashes the fornt-end
  • Loading branch information
boriskovar-m2ms committed Feb 11, 2021
1 parent 39c7d0d commit a2bbaa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/preview/compounds/compoundDataView.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const CompoundDataView = memo(({ currentCompoundIds, isTooltip, index })
const classes = useStyles();

return (
currentCompoundIds.length > 0 && (
currentCompoundIds && currentCompoundIds.length > 0 && (
<Grid item className={classes.gridItemList}>
{currentCompoundIds.map((data, i, array) => {
return (
Expand Down

0 comments on commit a2bbaa2

Please sign in to comment.