BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
2dfb7e88
Commit
2dfb7e88
authored
Dec 15, 2016
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pageNum is now camelCased
parent
3f21b957
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
index.js.es6
app/assets/javascripts/vue_pagination/index.js.es6
+7
-7
No files found.
app/assets/javascripts/vue_pagination/index.js.es6
View file @
2dfb7e88
...
...
@@ -18,7 +18,7 @@
],
methods: {
changePage(e) {
let page
n
um = this.pageInfo.page;
let page
N
um = this.pageInfo.page;
let apiScope = gl.getParameterByName('scope');
if (!apiScope) apiScope = 'all';
...
...
@@ -29,18 +29,18 @@
if (text === SPREAD) {
return;
} else if (text === LAST) {
page
n
um = totalPages;
page
N
um = totalPages;
} else if (text === NEXT) {
page
n
um = nextPage;
page
N
um = nextPage;
} else if (text === PREV) {
page
n
um = previousPage;
page
N
um = previousPage;
} else if (text === FIRST) {
page
n
um = 1;
page
N
um = 1;
} else {
page
n
um = +text;
page
N
um = +text;
}
this.change(page
n
um, apiScope);
this.change(page
N
um, apiScope);
},
},
computed: {
...
...
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