Commit 8856d5a8 authored by Regis's avatar Regis

turn off diff updates - wrap commit comp in td

parent afc52967
......@@ -55,7 +55,7 @@
if (text === FIRST) this.pagenum = 1;
window.history.pushState({}, null, `?p=${this.pagenum}`);
clearInterval(this.intervalId);
// clearInterval(this.intervalId);
this.pageRequest = true;
this.store.fetchDataLoop.call(this, Vue, this.pagenum, this.scope);
},
......@@ -77,6 +77,7 @@
<tr class="commit" v-for='pipeline in pipelines'>
<status-scope :pipeline='pipeline'></status-scope>
<pipeline-url :pipeline='pipeline'></pipeline-url>
<td>
<commit
:tag="pipeline.ref['tag?']"
:author='pipeline.commit.author'
......@@ -86,6 +87,7 @@
:commit_url='pipeline.commit.commit_url'
>
</commit>
</td>
<stages :pipeline='pipeline'></stages>
<time-ago :pipeline='pipeline'></time-ago>
<pipeline-actions :pipeline='pipeline'></pipeline-actions>
......
......@@ -81,17 +81,17 @@
resourceChecker();
goFetch();
this.intervalId = setInterval(() => {
if (this.updatedAt) {
resourceChecker();
if (Vue.activeResources > 1) return;
goUpdate();
}
}, 3000);
// this.intervalId = setInterval(() => {
// if (this.updatedAt) {
// resourceChecker();
// if (Vue.activeResources > 1) return;
// goUpdate();
// }
// }, 3000);
window.onbeforeunload = function removePipelineInterval() {
clearInterval(this.intervalId);
};
// window.onbeforeunload = function removePipelineInterval() {
// clearInterval(this.intervalId);
// };
}
};
})(window.gl || (window.gl = {}));
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