Skip to content

Commit 52e765b

Browse files
committed
fix displayImage in SampleImage
- input correct parameters - fix indexes position on click
1 parent 32fcf96 commit 52e765b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/SampleView/SampleImage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ class SampleImage extends React.Component {
546546

547547
const { resultDataPath } = shapeData;
548548
if (resultDataPath !== undefined) {
549-
this.props.displayImage(`${resultDataPath}&img_num=${imgNum}`);
549+
this.props.displayImage(resultDataPath, imgNum);
550550
}
551551
}
552552
}

0 commit comments

Comments
 (0)