bugfix: (#9388) Input field and cancel button should be disabled when an app import is in progress (#9446)

This commit is contained in:
Orinami Olatunji 2024-04-24 13:02:22 +01:00 committed by GitHub
parent 93707c3186
commit 3e63d645b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,7 +124,13 @@ export function AppModal({
title={title}
footerContent={
<>
<ButtonSolid variant="tertiary" onClick={closeModal} data-cy="cancel-button" className="modal-footer-divider">
<ButtonSolid
variant="tertiary"
onClick={closeModal}
data-cy="cancel-button"
className="modal-footer-divider"
disabled={isLoading}
>
Cancel
</ButtonSolid>
<ButtonSolid
@ -157,6 +163,7 @@ export function AppModal({
style={{
borderColor: errorText ? '#DB4324 !important' : 'initial',
}}
disabled={isLoading}
/>
{errorText ? (
<small