Skip to content

Commit a8bfcca

Browse files
committed
fixup! front: update stdcm simulation progress button design
1 parent c56455b commit a8bfcca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

front/src/applications/stdcm/components/StdcmForm/StdcmConfig.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,11 @@ const StdcmConfig = ({
197197
<Button
198198
data-testid="launch-simulation-button"
199199
className={cx({
200-
'fade-out': !showBtnToLaunchSimulation,
200+
'fade-out': isPending || !showBtnToLaunchSimulation,
201201
})}
202202
label={t('simulation.getSimulation')}
203203
onClick={startSimulation}
204+
isDisabled={disabled || !showBtnToLaunchSimulation}
204205
/>
205206
{formErrors && (
206207
<StdcmWarningBox

0 commit comments

Comments
 (0)