diff --git a/CHANGELOG.md b/CHANGELOG.md index 9354c0da981..8725b53b40f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,9 @@ changes in the following format: PR #1234*** #### Bug Fixes - Bug fix to the imaging uploader so that when clicking on an upload row, the row is highlighted and the proper log is being displayed in the log viewer (PR #8154) - +- Remove SNR label from the image panel of the imaging browser when no SNR values can +be found for the image (PR #8155) + ## LORIS 24.0 (Release Date: 2022-03-24) ### Core diff --git a/modules/imaging_browser/jsx/ImagePanel.js b/modules/imaging_browser/jsx/ImagePanel.js index bc927dd206a..19e79269ca6 100644 --- a/modules/imaging_browser/jsx/ImagePanel.js +++ b/modules/imaging_browser/jsx/ImagePanel.js @@ -549,9 +549,13 @@ class ImagePanelQCSNRValue extends Component { * @return {JSX} - React markup for the component */ render() { + let label = null; + if (this.props.SNR) { + label = 'SNR'; + } return (