BigW Consortium Gitlab

Commit 061b4dd8 by Regis

much more performant pageSlicer - [ci skip]

parent a993e0af
......@@ -13,10 +13,8 @@
}
currentPageSlicer(update) {
const length = update.length;
if (this.pipelines.length === update.length) return update;
if (update.length <= 30) return update;
return update.slice(0, (length - 1));
return update.slice(0, 29);
}
updatePipelines(apiResponse) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment