mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
Merge pull request #860 from verdaccio/#857-deps-bug
fix: solves dependency bug for one dependency (#857)
This commit is contained in:
commit
ce1f7a9fb7
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ const Dependencies = ({dependencies = {}}) => {
|
||||||
const dependenciesList = Object.keys(dependencies);
|
const dependenciesList = Object.keys(dependencies);
|
||||||
return (
|
return (
|
||||||
<Module title="Dependencies" className={classes.dependenciesModule}>
|
<Module title="Dependencies" className={classes.dependenciesModule}>
|
||||||
{dependenciesList.length > 1 ? (
|
{dependenciesList.length > 0 ? (
|
||||||
renderDependenciesList(dependencies, dependenciesList)
|
renderDependenciesList(dependencies, dependenciesList)
|
||||||
) : (
|
) : (
|
||||||
<ModuleContentPlaceholder text="Zero Dependencies!" />
|
<ModuleContentPlaceholder text="Zero Dependencies!" />
|
||||||
|
|
Loading…
Reference in a new issue