mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 07:26:03 -03:30
Merge pull request #9648 from tiagodread/ouiaid-01
add ouiaID to select and cancel buttons on modals SUMMARY Add ouiaId prop to select and cancel button within modals Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
This commit is contained in:
@@ -132,6 +132,7 @@ function Lookup(props) {
|
||||
onClose={closeModal}
|
||||
actions={[
|
||||
<Button
|
||||
ouiaId="modal-select-button"
|
||||
key="select"
|
||||
variant="primary"
|
||||
onClick={save}
|
||||
@@ -140,6 +141,7 @@ function Lookup(props) {
|
||||
{i18n._(t`Select`)}
|
||||
</Button>,
|
||||
<Button
|
||||
ouiaId="modal-cancel-button"
|
||||
key="cancel"
|
||||
variant="link"
|
||||
onClick={closeModal}
|
||||
|
||||
Reference in New Issue
Block a user