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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
e1a364ac
Commit
e1a364ac
authored
Mar 18, 2020
by
Nicolò Maria Mezzopera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide pagination when isLoading is true
- hide pagination - add test
parent
99b76451
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
app/assets/javascripts/registry/explorer/pages/details.vue
app/assets/javascripts/registry/explorer/pages/details.vue
+1
-0
spec/frontend/registry/explorer/pages/details_spec.js
spec/frontend/registry/explorer/pages/details_spec.js
+4
-0
No files found.
app/assets/javascripts/registry/explorer/pages/details.vue
View file @
e1a364ac
...
...
@@ -327,6 +327,7 @@ export default {
</gl-table>
<gl-pagination
v-if=
"!isLoading"
ref=
"pagination"
v-model=
"currentPage"
:per-page=
"tagsPagination.perPage"
...
...
spec/frontend/registry/explorer/pages/details_spec.js
View file @
e1a364ac
...
...
@@ -66,6 +66,10 @@ describe('Details Page', () => {
it
(
'
does not have list items
'
,
()
=>
{
expect
(
findFirstRowItem
(
'
rowCheckbox
'
).
exists
()).
toBe
(
false
);
});
it
(
'
does not show pagination
'
,
()
=>
{
expect
(
findPagination
().
exists
()).
toBe
(
false
);
});
});
describe
(
'
table
'
,
()
=>
{
...
...
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