Skip to content

Commit

Permalink
Render pagination at top as well (stashapp#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants authored Jun 18, 2020
1 parent 82509bc commit c3bae44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/v2.5/src/components/Changelog/versions/v030.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions ui/v2.5/src/hooks/ListHook.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()}
Expand Down

0 comments on commit c3bae44

Please sign in to comment.