Merge pull request #240 from lorenzhs/fetchlines
Fix bug where no (more) lines were loaded despite there being more
This commit is contained in:
commit
2cc4172ae0
|
@ -455,10 +455,6 @@ function($rootScope,
|
||||||
// the read marker position correct
|
// the read marker position correct
|
||||||
buffer.lastSeen -= oldLength;
|
buffer.lastSeen -= oldLength;
|
||||||
}
|
}
|
||||||
// We request more lines, but didn't get more. No more lines!
|
|
||||||
if (oldLength === buffer.lines.length) {
|
|
||||||
buffer.allLinesFetched = true;
|
|
||||||
}
|
|
||||||
// We requested more lines than we got, no more lines.
|
// We requested more lines than we got, no more lines.
|
||||||
if (linesReceivedCount < numLines) {
|
if (linesReceivedCount < numLines) {
|
||||||
buffer.allLinesFetched = true;
|
buffer.allLinesFetched = true;
|
||||||
|
|
Loading…
Reference in New Issue