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

Add disable and visible condition to TypeToolbarAction #5007

Merged

Conversation

alexander-schranz
Copy link
Member

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets fixes -
Related issues/PRs -
License MIT
Documentation PR -

What's in this PR?

Add disable and visible condition to TypeToolbarAction.

Why?

Allows to hide or disable TypeToolbarAction.

To Do

  • Create a documentation PR
  • Add breaking changes to UPGRADE.md

@niklasnatter
Copy link
Contributor

should we use the disabled_condition in the PageAdmin?

@alexander-schranz
Copy link
Member Author

@nnatter PageAdmin doesn't use the TypeToolbarAction it seems to have its own TemplateToolbarAction.

@alexander-schranz alexander-schranz force-pushed the enhancement/disable-type-toolbar branch 2 times, most recently from c1abeab to 0e340f5 Compare January 27, 2020 10:10
@alexander-schranz
Copy link
Member Author

@danrot @nnatter comments fixed.

@danrot danrot merged commit e17397b into sulu:release/2.0 Feb 3, 2020
@alexander-schranz alexander-schranz deleted the enhancement/disable-type-toolbar branch February 10, 2020 13:19
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.

None yet

3 participants