Skip to content

Commit

Permalink
Merge branch 'IPAD-509_enable-model-designation-for-mm-plots' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
paulnordlund committed Jun 24, 2024
2 parents 92bde12 + 905607a commit 17a59d2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/Differential/TabMultiFeature.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class TabMultiFeature extends Component {
if (
// !isPlotlyPlot &&
(typeof svg === 'string' || svg instanceof String) &&
svg.startsWith('Note:')
svg.startsWith('Error:')
) {
errorMessagePlotlySingleFeature = svg;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Differential/TabOverlay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class TabOverlay extends Component {
if (
// !isPlotlyPlot &&
(typeof svg === 'string' || svg instanceof String) &&
svg.startsWith('Note:')
svg.startsWith('Error:')
) {
errorMessagePlotlyOverlay =
plotOverlayData.svg[activeTabIndexPlotsOverlay].svg;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Differential/TabSingleFeature.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class TabSingleFeature extends Component {
if (
// !isPlotlyPlot &&
(typeof svg === 'string' || svg instanceof String) &&
svg.startsWith('Note:')
svg.startsWith('Error:')
) {
errorMessagePlotlySingleFeature =
plotSingleFeatureData.svg[activeTabIndexPlotsSingleFeature].svg;
Expand Down
10 changes: 5 additions & 5 deletions src/services/omicNavigator.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class OmicNavigatorService {
if (handleError != null) {
handleError(false);
}
return `Note: ${error.response.data}`;
return `Error: ${error.response.data}`;
}
}
}
Expand Down Expand Up @@ -99,7 +99,7 @@ class OmicNavigatorService {
if (handleError != null) {
handleError(false);
}
return `Note: ${error.response.data}`;
return `Error: ${error.response.data}`;
}
}
}
Expand Down Expand Up @@ -127,15 +127,15 @@ class OmicNavigatorService {
if (handleError != null) {
handleError(false);
}
return `Note: ${error.response.data}`;
return `Error: ${error.response.data}`;
}
});
})
.catch((error) => {
if (handleError != null) {
handleError(false);
}
return `Note: ${error.response.data}`;
return `Error: ${error.response.data}`;
});
});
}
Expand Down Expand Up @@ -271,7 +271,7 @@ class OmicNavigatorService {
this[cacheKey] = promise;
return promise;
} catch (err) {
return `Note: ${error.response.data}`;
return `Error: ${error.response.data}`;
// return err;
}
}
Expand Down

0 comments on commit 17a59d2

Please sign in to comment.