Skip to content

Commit

Permalink
version 1.0.0-alpha9
Browse files Browse the repository at this point in the history
  • Loading branch information
TomaszPilch committed Dec 6, 2020
1 parent 79e6616 commit 96d756b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bheui/components",
"version": "1.0.0-alpha8",
"version": "1.0.0-alpha9",
"description": "Components fo BHE be UI",
"main": "dist",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/WithModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const withModule = (Component: React.ComponentType): any => {
}
const module = router.query.module
const navItem = getNavigationItem(navigation, '', module)
if (Object.keys(navItem).length === 0) {
if (!navItem.url) {
return <div>Navigation item not found</div>
}
const settings = listSettings[navItem.name] || {}
Expand Down

0 comments on commit 96d756b

Please sign in to comment.