Skip to content

Commit 928fec3

Browse files
committed
taskName property
1 parent 7cfd1a2 commit 928fec3

File tree

1 file changed

+7
-1
lines changed
  • services/static-webserver/client/source/class/osparc/data

1 file changed

+7
-1
lines changed

services/static-webserver/client/source/class/osparc/data/PollTask.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ qx.Class.define("osparc.data.PollTask", {
3030
if (taskData && "task_id" in taskData) {
3131
this.set({
3232
taskId: taskData["task_id"],
33+
taskName: taskData["task_name"] || "",
3334
statusHref: taskData["status_href"],
34-
resultHref: taskData["result_href"]
35+
resultHref: taskData["result_href"],
3536
});
3637

3738
if ("abort_href" in taskData) {
@@ -64,6 +65,11 @@ qx.Class.define("osparc.data.PollTask", {
6465
nullable: false
6566
},
6667

68+
taskName: {
69+
check: "String",
70+
nullable: true
71+
},
72+
6773
statusHref: {
6874
check: "String",
6975
nullable: false

0 commit comments

Comments
 (0)