Skip to content

Commit

Permalink
Use run id as a string for its value in report select dropdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwblair committed May 20, 2021
1 parent 28601a7 commit 03ff4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neuroscout/frontend/src/analysis_builder/Report.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export class Report extends React.Component<ReportProps, ReportState> {
render() {
const runIdsOptions: JSX.Element[] = [];
this.props.runs.map(
x => runIdsOptions.push(<Option key={'' + x.id} value={this.formatRun(x)}>{this.formatRun(x)}</Option>)
x => runIdsOptions.push(<Option key={'' + x.id} value={'' + x.id}>{this.formatRun(x)}</Option>)
);
const cardTitle = (
<>
Expand Down

0 comments on commit 03ff4b5

Please sign in to comment.