Skip to content

Commit

Permalink
fix: solves dependency bug for one dependency (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayusharma committed Jul 27, 2018
1 parent ca76fdf commit f9c9c44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Dependencies = ({dependencies = {}}) => {
const dependenciesList = Object.keys(dependencies);
return (
<Module title="Dependencies" className={classes.dependenciesModule}>
{dependenciesList.length > 1 ? (
{dependenciesList.length > 0 ? (
renderDependenciesList(dependencies, dependenciesList)
) : (
<ModuleContentPlaceholder text="Zero Dependencies!" />
Expand Down

0 comments on commit f9c9c44

Please sign in to comment.