-
Notifications
You must be signed in to change notification settings - Fork 67
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
Fixes #37619 - Add ouia-ids for remediation wizard #574
Fixes #37619 - Add ouia-ids for remediation wizard #574
Conversation
webpack/components/ConfirmModal.js
Outdated
@@ -11,6 +11,7 @@ const ConfirmModal = props => { | |||
|
|||
const actions = [ | |||
<Button | |||
ouiaId={`oscap-conf-modal-${props.record.id}-confirm`} |
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.
props.record
default is null. so this should be props.record?.id
or something else
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.
Fixed. Although, anything that is fixed here and is not related to the wizard should be removed, since those are leftovers from OVAL additions.
.github/workflows/js_tests.yml
Outdated
- name: Run plugin linter | ||
run: | | ||
npm run lint |
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.
This already runs as part of foreman_plugin_js
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.
maybe we should add it there, but thats a different pr 🙃
Thanks, @MariaAga, updated. |
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.
lgtm!
@MariaAga, could you please take a look?