File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
services/static-webserver/client/source/class/osparc/info Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -123,17 +123,18 @@ qx.Class.define("osparc.info.CommentUI", {
123123
124124 const commentContent = this . getChildControl ( "comment-content" ) ;
125125 if ( this . __comment [ "type" ] === "NOTIFICATION" ) {
126+ const userGroupId = parseInt ( this . __comment [ "content" ] ) ;
126127 commentContent . setValue ( "🔔 " + this . tr ( "Notified" ) + ": " ) ;
127- osparc . store . Users . getInstance ( ) . getUser ( parseInt ( this . __comment [ "content" ] ) )
128+ osparc . store . Users . getInstance ( ) . getUser ( userGroupId )
128129 . then ( user => {
129130 if ( user ) {
130131 commentContent . setValue ( commentContent . getValue ( ) + user . getLabel ( ) ) ;
131132 } else {
132- commentContent . setValue ( commentContent . getValue ( ) + parseInt ( this . __comment [ "content" ] ) ) ;
133+ commentContent . setValue ( commentContent . getValue ( ) + userGroupId ) ;
133134 }
134135 } )
135136 . catch ( ( ) => {
136- commentContent . setValue ( commentContent . getValue ( ) + parseInt ( this . __comment [ "content" ] ) ) ;
137+ commentContent . setValue ( commentContent . getValue ( ) + userGroupId ) ;
137138 } ) ;
138139 } else if ( this . __comment [ "type" ] === "MESSAGE" ) {
139140 commentContent . setValue ( this . __comment [ "content" ] ) ;
You can’t perform that action at this time.
0 commit comments