Skip to content

Commit 24694d3

Browse files
committed
logout
1 parent 7cf736d commit 24694d3

File tree

1 file changed

+3
-2
lines changed
  • services/static-webserver/client/source/class/osparc/data/model

1 file changed

+3
-2
lines changed

services/static-webserver/client/source/class/osparc/data/model/Workbench.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,8 +893,9 @@ qx.Class.define("osparc.data.model.Workbench", {
893893
},
894894

895895
__addNodesFromPatches: function(nodesAdded, workbenchPatchesByNode) {
896-
// not solved yet, reload the site to avoid issues
897-
window.location.reload();
896+
// not solved yet, log the user out to avoid issues
897+
qx.core.Init.getApplication().logout(this.tr("Potential updates coming from a collaborator"));
898+
return;
898899

899900
const promises = nodesAdded.map(nodeId => {
900901
const addNodePatch = workbenchPatchesByNode[nodeId].find(workbenchPatch => {

0 commit comments

Comments
 (0)