mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-04 07:51:58 -05:00
Add fixes to results
- Handle out of order events by batching lines until all lines are present - In static mode, fetch pages of results until container is full and scroll bar appears (for scroll events related to pagination)
This commit is contained in:
committed by
Jake McDermott
parent
e3d42d8e1b
commit
033314e4f6
@@ -114,7 +114,12 @@ function next () {
|
||||
}
|
||||
|
||||
return shift()
|
||||
.then(() => append(events));
|
||||
.then(() => append(events))
|
||||
.then(() => {
|
||||
if(scroll.isMissing()) {
|
||||
return next();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -193,6 +198,11 @@ function scrollHome () {
|
||||
.then(() => {
|
||||
scroll.resetScrollPosition();
|
||||
scroll.resume();
|
||||
})
|
||||
.then(() => {
|
||||
if(scroll.isMissing()) {
|
||||
return next();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user