Skip to content

Commit 4652068

Browse files
committed
minor
1 parent f0a305e commit 4652068

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/static-webserver/client/source/class/osparc/dashboard/DragDropHelpers.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,15 @@ qx.Class.define("osparc.dashboard.DragDropHelpers", {
6969
} else if (workspaceOrigin && workspaceDest) { // (4)
7070
compatible = workspaceOrigin.getMyAccessRights()["delete"] && workspaceDest.getMyAccessRights()["write"];
7171
}
72+
7273
if (compatible) {
7374
folderItem.getChildControl("icon").setTextColor("strong-main");
7475
} else {
7576
folderItem.getChildControl("icon").setTextColor("danger-red");
7677
// do not allow
7778
event.preventDefault();
7879
}
80+
7981
const dragWidget = osparc.dashboard.DragWidget.getInstance();
8082
dragWidget.setDropAllowed(compatible);
8183
},

0 commit comments

Comments
 (0)