fix: to last run run status bug

pull/21369/head
Joel 11 months ago
parent 920ac9c442
commit be76483642

@ -49,7 +49,7 @@ const LastRun: FC<Props> = ({
const noLastRun = (error as any)?.status === 404 const noLastRun = (error as any)?.status === 404
const runResult = (canRunLastRun ? lastRunResult : singleRunResult) || {} const runResult = (canRunLastRun ? lastRunResult : singleRunResult) || {}
if (isFetching && !runResult) { if (isFetching && !isRunAfterSingleRun) {
return ( return (
<div className='flex h-0 grow flex-col items-center justify-center'> <div className='flex h-0 grow flex-col items-center justify-center'>
<RiLoader2Line className='size-4 animate-spin text-text-tertiary' /> <RiLoader2Line className='size-4 animate-spin text-text-tertiary' />

Loading…
Cancel
Save