-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backend/menu): pass plugin menu item enabled fn to Boolean filter
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.
- Loading branch information
1 parent
4c2a55d
commit 04db4d5
Showing
2 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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