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
2 changed files with 2 additions and 0 deletions

View File

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

View File

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