Commit 8856d5a8 authored by Regis's avatar Regis

turn off diff updates - wrap commit comp in td

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