Skip to content

Commit

Permalink
Simulate Chart correct index. (#4442)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Szendrey authored Aug 13, 2024
1 parent 1197650 commit 4793cf1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,14 @@ watch(
selectedRunId.value = props.node.outputs.find((o) => o.id === active)?.value?.[0];
const forecastId = props.node.state.forecastId;
if (!forecastId) return;
if (!forecastId || !selectedRunId.value) return;
const result = await getRunResultCSV(forecastId, 'result.csv');
pyciemssMap = parsePyCiemssMap(result[0]);
runResults.value[forecastId] = result;
runResults.value[selectedRunId.value] = result;
const resultSummary = await getRunResultCSV(forecastId, 'result_summary.csv');
runResultsSummary.value[forecastId] = resultSummary;
runResultsSummary.value[selectedRunId.value] = resultSummary;
},
{ immediate: true }
);
Expand Down

0 comments on commit 4793cf1

Please sign in to comment.