Skip to content

Commit a645d50

Browse files
committed
working workflow
1 parent e873eb2 commit a645d50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ qx.Class.define("osparc.dashboard.WorkspaceButtonNew", {
6060
const newWorkspace = e.getData();
6161
this.fireDataEvent("workspaceCreated", newWorkspace.getWorkspaceId(), this);
6262
});
63+
workspaceEditor.addListener("workspaceUpdated", () => {
64+
win.close();
65+
this.fireDataEvent("workspaceUpdated", workspaceEditor.getWorkspace());
66+
}, this);
6367
workspaceEditor.addListener("updateAccessRights", () => this.fireDataEvent("workspaceUpdated", workspaceEditor.getWorkspace()), this);
6468
workspaceEditor.addListener("cancel", () => win.close());
6569
}

0 commit comments

Comments
 (0)