Fix stream pause/resume transitions

This commit is contained in:
gconsidine
2018-03-09 12:35:19 -05:00
committed by Jake McDermott
parent 189963ae83
commit 57ea582898
6 changed files with 42 additions and 29 deletions

View File

@@ -87,7 +87,7 @@ function JobRenderService ($q, $sce, $window) {
return { html, count };
};
this.createRecord = event => {
this.createRecord = (ln, lines, event) => {
if (!event.uuid) {
return null;
}
@@ -104,7 +104,7 @@ function JobRenderService ($q, $sce, $window) {
};
if (event.parent_uuid) {
info.parents = getParentEvents(event.parent_uuid);
info.parents = this.getParentEvents(event.parent_uuid);
}
if (info.isTruncated) {
@@ -209,7 +209,7 @@ function JobRenderService ($q, $sce, $window) {
list.push(uuid);
if (this.record[uuid].parents) {
list = list.concat(record[uuid].parents);
list = list.concat(this.record[uuid].parents);
}
}
@@ -231,7 +231,6 @@ function JobRenderService ($q, $sce, $window) {
this.remove = elements => {
return this.requestAnimationFrame(() => {
elements.empty();
elements.remove();
});
};
@@ -254,10 +253,6 @@ function JobRenderService ($q, $sce, $window) {
return this.requestAnimationFrame();
};
this.build = () => {
};
this.clear = () => {
const elements = this.el.children();