Skip to content

Commit 9ad0969

Browse files
committed
__attachTasks
1 parent 928fec3 commit 9ad0969

File tree

1 file changed

+9
-0
lines changed
  • services/static-webserver/client/source/class/osparc/desktop

1 file changed

+9
-0
lines changed

services/static-webserver/client/source/class/osparc/desktop/MainPage.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ qx.Class.define("osparc.desktop.MainPage", {
7979
flex: 1
8080
});
8181

82+
this.__attachTasks();
8283
this.__listenToWalletSocket();
8384
this.__attachHandlers();
8485
});
@@ -90,6 +91,14 @@ qx.Class.define("osparc.desktop.MainPage", {
9091
__loadingPage: null,
9192
__studyEditor: null,
9293

94+
__attachTasks: function() {
95+
const pollTasks = osparc.store.PollTasks.getInstance();
96+
const exportDataTasks = pollTasks.getExportDataTasks();
97+
exportDataTasks.forEach(task => {
98+
osparc.task.ExportData.exportDataTaskReceived(task);
99+
});
100+
},
101+
93102
__listenToWalletSocket: function() {
94103
const socket = osparc.wrapper.WebSocket.getInstance();
95104
if (!socket.slotExists("walletOsparcCreditsUpdated")) {

0 commit comments

Comments
 (0)