File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/static-webserver/client/source/class/osparc/study Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ qx.Class.define("osparc.study.Conversations", {
130130 } ,
131131
132132 __getConversationPage : function ( conversationId ) {
133- return this . __conversationsPages . find ( conversationPage => conversationPage . getConversation ( ) && conversationPage . getConversation ( ) . getConversationId ( ) === conversationId ) ;
133+ return this . __conversationsPages . find ( conversationPage => conversationPage . getConversationId ( ) === conversationId ) ;
134134 } ,
135135
136136 __applyStudyData : function ( studyData ) {
@@ -143,7 +143,7 @@ qx.Class.define("osparc.study.Conversations", {
143143 conversations . forEach ( conversation => this . __addConversationPage ( conversation ) ) ;
144144 if ( this . __openConversationId ) {
145145 const conversationsLayout = this . getChildControl ( "conversations-layout" ) ;
146- const conversation = conversationsLayout . getSelectables ( ) . find ( c => c . getConversationId ( ) && c . getConversationId ( ) . getConversationId ( ) === this . __openConversationId ) ;
146+ const conversation = conversationsLayout . getSelectables ( ) . find ( c => c . getConversationId ( ) === this . __openConversationId ) ;
147147 if ( conversation ) {
148148 conversationsLayout . setSelection ( [ conversation ] ) ;
149149 }
You can’t perform that action at this time.
0 commit comments