File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
services/static-webserver/client/source/class/osparc/file Expand file tree Collapse file tree 1 file changed +4
-4
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 ( osparc . file . FilesTree . isFile ( row . entry ) ) {
317+ if ( "entry" in row && osparc . file . FilesTree . isFile ( row . entry ) ) {
318318 selectedFiles . push ( row . entry ) ;
319319 }
320320 }
@@ -323,9 +323,9 @@ qx.Class.define("osparc.file.FolderContent", {
323323 } , this ) ;
324324 table . addListener ( "cellDbltap" , e => {
325325 const selectedRow = e . getRow ( ) ;
326- const rowData = table . getTableModel ( ) . getRowData ( selectedRow ) ;
327- if ( "entry" in rowData ) {
328- this . __itemDblTapped ( rowData . entry ) ;
326+ const row = table . getTableModel ( ) . getRowData ( selectedRow ) ;
327+ if ( "entry" in row ) {
328+ this . __itemDblTapped ( row . entry ) ;
329329 }
330330 } , this ) ;
331331 }
You can’t perform that action at this time.
0 commit comments