Skip to content

Commit

Permalink
fix: stop showing loading indicator in queued state (#9081)
Browse files Browse the repository at this point in the history
  • Loading branch information
keita-determined authored Apr 1, 2024
1 parent 4050eda commit 37abc6c
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,11 @@ const ExperimentVisualization: React.FC<Props> = ({ basePath, experiment }: Prop
return <Message icon="warning" title="No data to plot." />;
} else if (pageError !== undefined) {
return <Message icon="warning" title={PAGE_ERROR_MESSAGES[pageError]} />;
} else if (!hasLoaded && experiment.state !== RunState.Paused) {
} else if (
!hasLoaded &&
experiment.state !== RunState.Paused &&
experiment.state !== RunState.Queued
) {
return <Spinner spinning tip="Fetching metrics..." />;
} else if (hasLoaded && !hasData) {
return isExperimentTerminal || experiment.state === RunState.Paused ? (
Expand Down

0 comments on commit 37abc6c

Please sign in to comment.