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

Multi permission dialog fixes #887

Merged
merged 5 commits into from
Aug 29, 2018
Merged

Multi permission dialog fixes #887

merged 5 commits into from
Aug 29, 2018

Conversation

bjoernricks
Copy link
Contributor

No description provided.

The prop isn't interpreted by SaveDialog anymore.
Differentiate between data that is controlled from the parent component,
data that is only displayed and data that is changed within the
MultiPermissionDialog. The related prop is controlled from the parent
component because the related entities are loaded asynchronously. id
never changes but must be put into the SaveDialog state to be included
in the data passed to the onSave handler. Same for the entityType.
entityName is constant and is only displayed. Therefore it can be
removed from the dialog state.
@swaterkamp swaterkamp merged commit 4bea539 into greenbone:master Aug 29, 2018
@bjoernricks bjoernricks deleted the multi-permission-dialog-fixes branch August 29, 2018 08:25
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