Skip to content

Commit 90a9087

Browse files
committed
isEnd
1 parent 06da80e commit 90a9087

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ qx.Class.define("osparc.data.StreamTask", {
6161
},
6262

6363
fetchStream: function() {
64-
if (!this.isDone()) {
64+
if (!this.isEnd()) {
6565
const streamPath = osparc.data.PollTask.extractPathname(this.getStreamHref());
6666
const url = `${streamPath}?limit=${this.getPageSize()}`;
6767
fetch(url)
@@ -89,7 +89,6 @@ qx.Class.define("osparc.data.StreamTask", {
8989
this.fireDataEvent("streamReceived", items);
9090
if (end) {
9191
this.setEnd(true);
92-
this.setDone(true);
9392
}
9493
return;
9594
}

0 commit comments

Comments
 (0)