-
Notifications
You must be signed in to change notification settings - Fork 2
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
Disable editation for read only provider credentials #58
Conversation
@@ -248,6 +254,7 @@ function CredentialsDetailContainer(props) { | |||
color="link" | |||
resource={resourceManageCredentials} | |||
resources={resources} | |||
disabled={(editable !== true)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aringocode I think the code can be simplified to disabled={!editable}
EditableCredential.mp4 |
@Pe5h4 Can you review pls?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but please confirm the alert message with Robin
@Pe5h4 can you review pls?) |
Changes
editable
prop that disallows readOnly editing to the providereditable.mp4