Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(backend/menu): pass plugin menu item enabled fn to Boolean filter #1311

Merged
merged 1 commit into from
Mar 18, 2019

Conversation

barmac
Copy link
Collaborator

@barmac barmac commented Mar 18, 2019

This will allow for convenient usage of && within menuItem#enabled
method, e.g. return menuState.bpmn && menuState.inactiveInput.
Previously, menuState.bpmn === undefined would make menu item enabled.

@ghost ghost assigned barmac Mar 18, 2019
@ghost ghost added the needs review Review pending label Mar 18, 2019
This will allow for convenient usage of `&&` within menuItem#enabled
method, e.g. `return menuState.bpmn && menuState.inactiveInput`.
Previously, `menuState.bpmn === undefined` would make menu item enabled.
@philippfromme philippfromme force-pushed the fix-plugin-menu-entries-enable-prop branch from c410a9f to 04db4d5 Compare March 18, 2019 13:44
@ghost ghost assigned philippfromme Mar 18, 2019
Copy link
Contributor

@philippfromme philippfromme left a comment

Choose a reason for hiding this comment

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

Piece of 🍰

@merge-me merge-me bot merged commit c055a3b into master Mar 18, 2019
@ghost ghost removed the needs review Review pending label Mar 18, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix-plugin-menu-entries-enable-prop branch March 18, 2019 13:49
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.

2 participants