fix next link condition
This commit is contained in:
parent
a5fcc29c90
commit
503a209898
|
@ -63,6 +63,7 @@ export class StreamOverlayComponent implements OnInit {
|
||||||
const nextElement = this.nextElements.pop();
|
const nextElement = this.nextElements.pop();
|
||||||
this.loadElement(nextElement);
|
this.loadElement(nextElement);
|
||||||
|
|
||||||
|
if(this.nextElements.length === 0) this.canGoForward = false;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue