File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
services/static-webserver/client/source/class/osparc/share Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ qx.Class.define("osparc.share.Collaborators", {
2222 /**
2323 * @param serializedDataCopy {Object} Object containing the Serialized Data
2424 */
25- construct : function ( serializedDataCopy , initCollabs = [ ] ) {
25+ construct : function ( serializedDataCopy ) {
2626 this . base ( arguments ) ;
2727
2828 this . _serializedDataCopy = serializedDataCopy ;
@@ -365,7 +365,11 @@ qx.Class.define("osparc.share.Collaborators", {
365365 win . open ( ) ;
366366 win . addListener ( "close" , ( ) => {
367367 if ( win . getConfirmed ( ) ) {
368- this . _deleteMember ( { gid : myGid } )
368+ const collaborator = {
369+ gid : myGid ,
370+ name : osparc . store . Groups . getInstance ( ) . getGroupMe ( ) . getLabel ( ) ,
371+ }
372+ this . _deleteMember ( collaborator )
369373 . then ( ( ) => {
370374 qx . event . message . Bus . dispatchByName ( "reloadStudies" ) ;
371375 } ) ;
You can’t perform that action at this time.
0 commit comments