Skip to content

Commit 6dd9d52

Browse files
Fix empty Pareto plot
1 parent b1f7a9f commit 6dd9d52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webapp/TargetedMS/js/ParetoPlotPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Ext4.define('LABKEY.targetedms.ParetoPlotPanel', {
3939

4040
var parsed = JSON.parse(response.responseText);
4141

42-
if (Object.keys(parsed.sampleFiles).length === 0) {
42+
if (!parsed.sampleFiles || Object.keys(parsed.sampleFiles).length === 0) {
4343
Ext4.get(this.plotDivId).update('<div class="tiledPlotPanel">No sample files loaded yet. Import some via Skyline, AutoQC, or the Data Pipeline tab here in Panorama.</div>');
4444
return;
4545
}

0 commit comments

Comments
 (0)