File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/static-webserver/client/source/class/osparc/file Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ qx.Class.define("osparc.file.FolderContent", {
314314 selectionRanges . forEach ( range => {
315315 for ( let i = range . minIndex ; i <= range . maxIndex ; i ++ ) {
316316 const row = table . getTableModel ( ) . getRowData ( i ) ;
317- if ( "entry" in row && osparc . file . FilesTree . isFile ( row . entry ) ) {
317+ if ( row && "entry" in row && osparc . file . FilesTree . isFile ( row . entry ) ) {
318318 selectedFiles . push ( row . entry ) ;
319319 }
320320 }
@@ -324,7 +324,7 @@ qx.Class.define("osparc.file.FolderContent", {
324324 table . addListener ( "cellDbltap" , e => {
325325 const selectedRow = e . getRow ( ) ;
326326 const row = table . getTableModel ( ) . getRowData ( selectedRow ) ;
327- if ( "entry" in row ) {
327+ if ( row && "entry" in row ) {
328328 this . __itemDblTapped ( row . entry ) ;
329329 }
330330 } , this ) ;
You can’t perform that action at this time.
0 commit comments