Skip to content

Commit 5c19405

Browse files
committed
JS bugfixes
1 parent b925f54 commit 5c19405

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

singlecell/resources/web/singlecell/panel/LibraryExportPanel.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,10 @@ Ext4.define('SingleCell.panel.LibraryExportPanel', {
568568
}, this);
569569
}
570570
else {
571-
plateIds = btn.up('singlecell-libraryexportpanel').down('#sourcePlates').getValue();
571+
var target = btn.up('singlecell-libraryexportpanel').down('#sourcePlates');
572+
if (target) {
573+
plateIds = target.getValue();
574+
}
572575
}
573576

574577
if (!plateIds || !plateIds.length){

0 commit comments

Comments
 (0)