Skip to content

Commit 761303f

Browse files
committed
minor
1 parent e119966 commit 761303f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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");

services/static-webserver/client/source/class/osparc/dashboard/TemplateBrowser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,9 @@ qx.Class.define("osparc.dashboard.TemplateBrowser", {
393393
taskToTemplateReceived: function(task, studyName) {
394394
const toTemplateTaskUI = new osparc.task.ToTemplate(studyName);
395395
toTemplateTaskUI.setTask(task);
396+
396397
osparc.task.TasksContainer.getInstance().addTaskUI(toTemplateTaskUI);
398+
397399
const toTemplateCard = this.__createToTemplateCard(studyName);
398400
toTemplateCard.setTask(task);
399401
this.__attachToTemplateEventHandler(task, toTemplateTaskUI, toTemplateCard);

0 commit comments

Comments
 (0)