Skip to content

Commit

Permalink
Add tooltip for sampling in progress.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoules committed Oct 29, 2024
1 parent c3f8f6c commit 14c817f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui/src/app/RunPanel/CompiledRunPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ const CompiledRunPanel: FunctionComponent<CompiledRunPanelProps> = ({

const tooltip = useMemo(() => {
if (handleRun === undefined) return "Data must be validly formatted JSON";
if (runStatus === "sampling") return "Sampling is in progress";
return "Run sampling";
}, [handleRun]);
}, [handleRun, runStatus]);

return (
<div>
Expand Down

0 comments on commit 14c817f

Please sign in to comment.