Skip to content

Commit

Permalink
front: hide results when simulation is on pending
Browse files Browse the repository at this point in the history
  • Loading branch information
Akctarus committed Jul 11, 2024
1 parent c8cc2d3 commit 4b9979f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/src/applications/stdcmV2/views/StdcmViewV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const StdcmViewV2 = () => {
setCurrentSimulationInputs={setCurrentSimulationInputs}
/>
)}
{stdcmV2Results?.stdcmResponse && (
{stdcmV2Results?.stdcmResponse && !isPending && (
<StdcmResults
// TODO: Next step : use currentSimulationInputs instead of stdcmSimulationResults to handle multiples simulations results
stdcmData={stdcmV2Results?.stdcmResponse}
Expand Down

0 comments on commit 4b9979f

Please sign in to comment.