File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,11 @@ qx.Class.define("osparc.dashboard.DragDropHelpers", {
6060 // - Write on dest Workspace
6161 if ( workspaceDestId === - 1 ) { // (0)
6262 compatible = false ;
63- } else if ( studyDataOrigin [ "workspaceId" ] === null && workspaceDest === null ) { // (1)
63+ } else if ( studyDataOrigin [ "workspaceId" ] === null && workspaceDestId === null ) { // (1)
6464 compatible = true ;
6565 } else if ( studyDataOrigin [ "workspaceId" ] === null && workspaceDest ) { // (2)
6666 compatible = osparc . data . model . Study . canIDelete ( studyDataOrigin [ "accessRights" ] ) && workspaceDest . getMyAccessRights ( ) [ "write" ] ;
67- } else if ( workspaceOrigin && workspaceDest === null ) { // (3)
67+ } else if ( workspaceOrigin && workspaceDestId === null ) { // (3)
6868 compatible = workspaceOrigin . getMyAccessRights ( ) [ "delete" ] ;
6969 } else if ( workspaceOrigin && workspaceDest ) { // (4)
7070 compatible = workspaceOrigin . getMyAccessRights ( ) [ "delete" ] && workspaceDest . getMyAccessRights ( ) [ "write" ] ;
You can’t perform that action at this time.
0 commit comments