Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Catalog
catalog.genesys-pgr.org
Commits
70f2614a
Commit
70f2614a
authored
Oct 03, 2018
by
Matija Obreza
Browse files
Removed the bottom PaginationComponent
- Makes no sense with infinite loading
parent
a9f50b00
Changes
7
Hide whitespace changes
Inline
Side-by-side
src/datasets/ui/BrowsePage.tsx
View file @
70f2614a
...
...
@@ -148,13 +148,6 @@ class BrowsePage extends React.Component<IDatasetsProps, any> {
</
Grid
>
</
Grid
>
}
<
PaginationComponent
pageObj
=
{
paged
}
onChange
=
{
this
.
onPaginationChange
}
displayName
=
"label.dataset"
sortOptions
=
{
Dataset
.
SORT_OPTIONS
}
infinite
/>
</
PageLayout
>
);
}
...
...
src/descriptorlists/ui/BrowsePage.tsx
View file @
70f2614a
...
...
@@ -153,15 +153,6 @@ class BrowsePage extends React.Component<IBrowsePageProps, any> {
</
Grid
>
</
Grid
>
}
<
Grid
container
spacing
=
{
0
}
item
xs
=
{
12
}
>
<
PaginationComponent
pageObj
=
{
paged
}
onChange
=
{
this
.
onPaginationChange
}
displayName
=
"label.descriptorlist"
sortOptions
=
{
DescriptorList
.
SORT_OPTIONS
}
infinite
/>
</
Grid
>
</
PageLayout
>
);
}
...
...
src/descriptors/ui/BrowsePage.tsx
View file @
70f2614a
...
...
@@ -145,18 +145,6 @@ class BrowsePage extends React.Component<IDescriptorListsPageProps & any, any> {
/>
</
Grid
>
}
<
Grid
container
spacing
=
{
0
}
className
=
"back-gray-yellow"
>
<
Grid
item
md
=
{
2
}
/>
<
Grid
item
xs
=
{
12
}
md
=
{
10
}
>
<
PaginationComponent
pageObj
=
{
paged
}
onChange
=
{
this
.
onPaginationChange
}
displayName
=
"label.descriptor"
infinite
sortOptions
=
{
Descriptor
.
SORT_OPTIONS
}
/>
</
Grid
>
</
Grid
>
</
PageLayout
>
);
}
...
...
src/partners/ui/BrowsePage.tsx
View file @
70f2614a
...
...
@@ -152,15 +152,6 @@ class PartnerListPage extends React.Component<IBrowsePageProps, any> {
</
Grid
>
</
Grid
>
}
<
Grid
item
xs
=
{
12
}
md
=
{
9
}
lg
=
{
10
}
>
<
PaginationComponent
pageObj
=
{
paged
}
onChange
=
{
this
.
onPaginationChange
}
displayName
=
"label.partner"
sortOptions
=
{
Partner
.
SORT_OPTIONS
}
infinite
/>
</
Grid
>
</
PageLayout
>
);
}
...
...
src/ui/catalog/dashboard/c/MyDataTable.tsx
View file @
70f2614a
...
...
@@ -153,8 +153,6 @@ function MyDataTable({
</
Paper
>
</
ContentContainer
>
</
Grid
>
<
PaginationComponent
displayName
=
"records"
pageObj
=
{
paged
}
onChange
=
{
onPaginationChange
}
sortOptions
=
{
sortOptions
}
infinite
/>
</
Grid
>
}
</
Grid
>
...
...
src/vocabulary/ui/BrowsePage.tsx
View file @
70f2614a
...
...
@@ -137,14 +137,6 @@ class BrowsePage extends React.Component<IBrowsePageProps & any, any> {
colSpan
=
{
3
}
itemRenderer
=
{
renderVocabulary
}
/>
}
<
Grid
item
xs
=
{
12
}
>
<
PaginationComponent
pageObj
=
{
paged
}
onChange
=
{
this
.
onPaginationChange
}
displayName
=
"label.vocabulary"
infinite
sortOptions
=
{
Vocabulary
.
SORT_OPTIONS
}
/>
</
Grid
>
</
Grid
>
</
PageLayout
>
);
...
...
src/vocabulary/ui/DisplayPage.tsx
View file @
70f2614a
...
...
@@ -166,13 +166,6 @@ class DisplayPage extends React.Component<IDisplayPageProps, any> {
colSpan
=
{
3
}
itemRenderer
=
{
renderVocabularyTerm
}
/>
</
Table
>
{
paged
.
totalElements
>
50
&&
<
PaginationComponent
pageObj
=
{
paged
}
onChange
=
{
this
.
onPaginationChange
}
infinite
displayName
=
"terms"
/>
}
</
Section
>
</
Grid
>
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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