mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 03:01:06 -03:30
Use ouiaId instead of data-cy id in RevertButton
This commit is contained in:
@@ -45,7 +45,7 @@ function RevertButton({ i18n, id, defaultValue, isDisabled = false }) {
|
|||||||
<ButtonWrapper>
|
<ButtonWrapper>
|
||||||
<Button
|
<Button
|
||||||
aria-label={isRevertable ? i18n._(t`Revert`) : i18n._(t`Undo`)}
|
aria-label={isRevertable ? i18n._(t`Revert`) : i18n._(t`Undo`)}
|
||||||
data-cy={`${id}-revert`}
|
ouiaId={`${id}-revert`}
|
||||||
isInline
|
isInline
|
||||||
isSmall
|
isSmall
|
||||||
onClick={handleConfirm}
|
onClick={handleConfirm}
|
||||||
|
|||||||
Reference in New Issue
Block a user