mirror of
https://github.com/ansible/awx.git
synced 2026-03-25 21:05:03 -02:30
Fix stream pause/resume transitions
This commit is contained in:
committed by
Jake McDermott
parent
189963ae83
commit
57ea582898
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user