Commit 70f2614a authored by Matija Obreza's avatar Matija Obreza
Browse files

Removed the bottom PaginationComponent

- Makes no sense with infinite loading
parent a9f50b00
Pipeline #6796 passed with stages
in 5 minutes and 34 seconds
......@@ -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>
);
}
......
......@@ -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>
);
}
......
......@@ -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>
);
}
......
......@@ -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>
);
}
......
......@@ -153,8 +153,6 @@ function MyDataTable({
</Paper>
</ContentContainer>
</Grid>
<PaginationComponent displayName="records" pageObj={ paged } onChange={ onPaginationChange } sortOptions={ sortOptions } infinite />
</Grid>
}
</Grid>
......
......@@ -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>
);
......
......@@ -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>
}
......
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