mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
bugfix: (#9388) Input field and cancel button should be disabled when an app import is in progress (#9446)
This commit is contained in:
parent
93707c3186
commit
3e63d645b7
1 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue