Skip to content

Commit e03b40e

Browse files
committed
getExportDataTasks
1 parent feb24cd commit e03b40e

File tree

1 file changed

+4
-0
lines changed
  • services/static-webserver/client/source/class/osparc/store

1 file changed

+4
-0
lines changed

services/static-webserver/client/source/class/osparc/store/PollTasks.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ qx.Class.define("osparc.store.PollTasks", {
8383
return this.getTasks().filter(task => task.getTaskId().includes("from_study") && task.getTaskId().includes("as_template"));
8484
},
8585

86+
getExportDataTasks: function() {
87+
return this.getTasks().filter(task => task.getTaskName() && task.getTaskName() === "export_data");
88+
},
89+
8690
removeTasks: function() {
8791
const tasks = this.getTasks();
8892
tasks.forEach(task => task.dispose());

0 commit comments

Comments
 (0)