don't spin pause icon on runs

This commit is contained in:
Vyacheslav Matyukhin 2022-07-27 23:01:15 +04:00
parent b1e7164c7e
commit ec4777bd61
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -191,7 +191,7 @@ const RunControls: React.FC<{
icons={[CheckCircleIcon, PauseIcon]}
status={autorunMode}
onChange={onAutorunModeChange}
spinIcon={isRunning}
spinIcon={autorunMode && isRunning}
/>
</div>
);