Commit c32c77a0 authored by selfup's avatar selfup

pagination exists - will become dynamic soon

parent cbd1303b
......@@ -3,7 +3,7 @@
((gl) => {
const goFetch = (that, vue) =>
that.$http.get(`/api/v3/projects/${that.scope}/pipelines`)
that.$http.get(`/api/v3/projects/${that.scope}/pipelines?per_page=5&page=1`)
.then((response) => {
vue.set(that, 'pipelines', JSON.parse(response.body));
}, () => {
......@@ -19,7 +19,7 @@
}
fetchCommits(vue) {
this.$http.get(`/api/v3/projects/${this.scope}/repository/commits`)
this.$http.get(`/api/v3/projects/${this.scope}/repository/commits?per_page=5&page=1`)
.then((response) => {
vue.set(this, 'commits', JSON.parse(response.body));
}, () => {
......
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