FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(HorizontalNavMenuItem): Fix onItemClick PropType. by martinpovolny · Pull Request #2984 · patternfly/patternfly-react · GitHub

fix(HorizontalNavMenuItem): Fix onItemClick PropType. - #2984

Merged
dlabaj merged 1 commit into
patternfly:masterfrom
martinpovolny:HorizontalNavMenuItem_onItemClick_fix
Sep 24, 2019
Merged

fix(HorizontalNavMenuItem): Fix onItemClick PropType.#2984
dlabaj merged 1 commit into
patternfly:masterfrom
martinpovolny:HorizontalNavMenuItem_onItemClick_fix

Conversation

martinpovolny commented Sep 23, 2019
edited
Loading

Copy link
Copy Markdown
Contributor

HorizontalNavMenuItem 's onItemClick should be a function not an object.

It's getting passed as onClick to <a href ...> so it must be a bug.

Issue: #2994

Ping @rvsia, @karelhala

HorizontalNavMenuItem 's onItemClick should be a function not an object.

karelhala left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Good catch!

Copy link
Copy Markdown
Collaborator

PatternFly-React preview: https://patternfly-react-pr-2984.surge.sh

martinpovolny added a commit to martinpovolny/react-ui-components that referenced this pull request Sep 23, 2019
tlabaj previously requested changes Sep 23, 2019

tlabaj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can you please link associated issue. Thanks!

Copy link
Copy Markdown
Contributor Author

Can you please link associated issue. Thanks!

There's none.

Do we need 6 people and an issue to merge a trivial 1 line fix to Patternfly?

dlabaj commented Sep 24, 2019

Copy link
Copy Markdown
Contributor

@martinpovolny We do need an issue for all bugs (https://github.com/patternfly/patternfly-react/blob/master/CONTRIBUTING.md#creating-issues-for-bugs). We only need 2 approvals to merge a PR.

Copy link
Copy Markdown
Contributor Author

@dlabaj : Thank you for the information. Updating counter to 7 ;-)

I have created the issue as you required: #2994

However I cannot follow the steps you pointed me to 100%. I cannot assing the label because I do not have the permisions.

Regards.

dlabaj dismissed tlabaj’s stale review September 24, 2019 09:37

change was made

dlabaj merged commit 90e1792 into patternfly:master Sep 24, 2019

Copy link
Copy Markdown
Collaborator

Your changes have been released in:

  • patternfly-react-extensions@2.20.6
  • patternfly-react@2.39.1
  • @patternfly/react-console@1.12.10

Thanks for your contribution! 🎉

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants


Back | FazBrowse Home | New Git URL