Render pagination at top as well (#614)

This commit is contained in:
WithoutPants 2020-06-18 11:10:00 +10:00 committed by GitHub
parent 9d0522f62d
commit f60ce01fec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@ const markup = `
* Add support for parent/child studios.
### 🎨 Improvements
* Show pagination at top as well as bottom of the page.
* Add split xpath post-processing action.
* Improved the layout of the scene page.
* Show rating as stars in scene page.

View file

@ -412,6 +412,7 @@ const useList = <QueryResult extends IQueryResult, QueryData extends IDataItem>(
: undefined}
{(result.loading || !forageInitialised) && <LoadingIndicator />}
{result.error && <h1>{result.error.message}</h1>}
{maybeRenderPagination()}
{maybeRenderContent()}
{maybeRenderPaginationIndex()}
{maybeRenderPagination()}