Skip to content

Commit

Permalink
Merge pull request #446 from TeskaLabs/bugfix/fix-props-for-treemenu
Browse files Browse the repository at this point in the history
Fix sending props for TreeMenuItem
  • Loading branch information
aringocode authored Aug 21, 2023
2 parents fdc969f + d9586de commit 3eddd42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@

- Add missing locales for HelpButton (INDIGO Sprint 230623, [!436](https://github.com/TeskaLabs/asab-webui/pull/436))

- Fixed passing of props to the TreeMenuItem component (INDIGO Sprint 230818, [!446](https://github.com/TeskaLabs/asab-webui/pull/446))

### Hotfix

- Hotfix on DateTime component - Invalid date in timeToString formatting, preventing app failure (INDIGO Sprint 230804, [!443](https://github.com/TeskaLabs/asab-webui/pull/443))
Expand Down
3 changes: 2 additions & 1 deletion src/components/TreeMenu/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ const TreeMenu = ({
{items.map(({ reset, ...params }) => (
<TreeMenuItem
active="false"
resource={props.resource}
resources={props.resources}
{...params}
{...props}
/>
))}
</ListGroup>
Expand Down

0 comments on commit 3eddd42

Please sign in to comment.