@@ -1919,7 +1919,9 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
19191919 __exportStudy : function ( studyData ) {
19201920 const exportTaskUI = new osparc . task . Export ( studyData ) ;
19211921 exportTaskUI . setSubtitle ( this . tr ( "Preparing files" ) ) ;
1922+
19221923 osparc . task . TasksContainer . getInstance ( ) . addTaskUI ( exportTaskUI ) ;
1924+
19231925 const text = this . tr ( "Exporting process started and added to the background tasks" ) ;
19241926 osparc . FlashMessenger . logAs ( text , "INFO" ) ;
19251927
@@ -1940,6 +1942,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
19401942 const uploadingLabel = this . tr ( "Uploading file" ) ;
19411943 const importTaskUI = new osparc . task . Import ( ) ;
19421944 importTaskUI . setSubtitle ( uploadingLabel ) ;
1945+
19431946 osparc . task . TasksContainer . getInstance ( ) . addTaskUI ( importTaskUI ) ;
19441947
19451948 const text = this . tr ( "Importing process started and added to the background tasks" ) ;
@@ -2137,7 +2140,9 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
21372140 __taskDuplicateReceived : function ( task , studyName ) {
21382141 const duplicateTaskUI = new osparc . task . Duplicate ( studyName ) ;
21392142 duplicateTaskUI . setTask ( task ) ;
2143+
21402144 osparc . task . TasksContainer . getInstance ( ) . addTaskUI ( duplicateTaskUI ) ;
2145+
21412146 const duplicatingStudyCard = this . __createDuplicateCard ( studyName ) ;
21422147 duplicatingStudyCard . setTask ( task ) ;
21432148 duplicatingStudyCard . subscribeToFilterGroup ( "searchBarFilter" ) ;
0 commit comments