Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
8856d5a8
Commit
8856d5a8
authored
Nov 29, 2016
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
turn off diff updates - wrap commit comp in td
parent
afc52967
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
20 deletions
+22
-20
app/assets/javascripts/vue_pipelines_index/pipelines.js.es6
app/assets/javascripts/vue_pipelines_index/pipelines.js.es6
+12
-10
app/assets/javascripts/vue_pipelines_index/store.js.es6
app/assets/javascripts/vue_pipelines_index/store.js.es6
+10
-10
No files found.
app/assets/javascripts/vue_pipelines_index/pipelines.js.es6
View file @
8856d5a8
...
...
@@ -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,15 +77,17 @@
<tr class="commit" v-for='pipeline in pipelines'>
<status-scope :pipeline='pipeline'></status-scope>
<pipeline-url :pipeline='pipeline'></pipeline-url>
<commit
:tag="pipeline.ref['tag?']"
:author='pipeline.commit.author'
:title='pipeline.commit.title'
:ref='pipeline.ref'
:short_sha='pipeline.commit.short_id'
:commit_url='pipeline.commit.commit_url'
>
</commit>
<td>
<commit
:tag="pipeline.ref['tag?']"
:author='pipeline.commit.author'
:title='pipeline.commit.title'
:ref='pipeline.ref'
:short_sha='pipeline.commit.short_id'
:commit_url='pipeline.commit.commit_url'
>
</commit>
</td>
<stages :pipeline='pipeline'></stages>
<time-ago :pipeline='pipeline'></time-ago>
<pipeline-actions :pipeline='pipeline'></pipeline-actions>
...
...
app/assets/javascripts/vue_pipelines_index/store.js.es6
View file @
8856d5a8
...
...
@@ -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 = {}));
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment