Skip to content

Commit

Permalink
set the experiment id for continue modal
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidzr committed Jul 29, 2020
1 parent 6370257 commit 97a7317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webui/react/src/pages/TrialDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const TrialDetailsComp: React.FC = () => {
);
}

if (!trial.data) {
if (!trial.data || !experimentId) {
return <Spinner fillContainer />;
}

Expand All @@ -127,7 +127,7 @@ const TrialDetailsComp: React.FC = () => {
<Section title="Steps" />
<CreateExperimentModal
okText="Create"
parentId={trialId} // FIXME or is it experiment ID?
parentId={experimentId}
setState={setContModalState}
state={ContModalState}
title={`Continue Trial ${trialId}`}
Expand Down

0 comments on commit 97a7317

Please sign in to comment.