Commit a4047ff4 authored by Renon's avatar Renon Committed by Eliot Berriot

Resolve "Don't display an empty page browser"

parent 203b691a
Ensure we do not display pagination on single pages (#334)
......@@ -49,7 +49,7 @@
<track-table v-if="results" :tracks="results.results"></track-table>
<div class="ui center aligned basic segment">
<pagination
v-if="results && results.count > 0"
v-if="results && results.count > paginateBy"
@page-changed="selectPage"
:current="page"
:paginate-by="paginateBy"
......
......@@ -86,7 +86,7 @@
<tr>
<th>
<pagination
v-if="result && result.results.length > 0"
v-if="result && result.count > paginateBy"
@page-changed="selectPage"
:compact="true"
:current="page"
......
......@@ -87,7 +87,7 @@
</div>
<div>
<pagination
v-if="result && result.results.length > 0"
v-if="result && result.count > paginateBy"
@page-changed="selectPage"
:compact="true"
:current="page"
......
......@@ -57,7 +57,7 @@
</div>
<div class="ui center aligned basic segment">
<pagination
v-if="result && result.results.length > 0"
v-if="result && result.count > paginateBy"
@page-changed="selectPage"
:current="page"
:paginate-by="paginateBy"
......
......@@ -63,7 +63,7 @@
</div>
<div class="ui center aligned basic segment">
<pagination
v-if="result && result.results.length > 0"
v-if="result && result.count > paginateBy"
@page-changed="selectPage"
:current="page"
:paginate-by="paginateBy"
......
......@@ -117,7 +117,7 @@
<tr>
<th>
<pagination
v-if="jobResult && jobResult.results.length > 0"
v-if="jobResult && jobResult.count > jobFilters.paginateBy"
@page-changed="selectPage"
:compact="true"
:current="jobFilters.page"
......
......@@ -62,7 +62,7 @@
<tr>
<th>
<pagination
v-if="result && result.results.length > 0"
v-if="result && result.count > filters.paginateBy"
@page-changed="selectPage"
:compact="true"
:current="filters.page"
......
......@@ -86,7 +86,7 @@
</div>
<div>
<pagination
v-if="result && result.results.length > 0"
v-if="result && result.count > paginateBy"
@page-changed="selectPage"
:compact="true"
:current="page"
......
......@@ -93,7 +93,7 @@
</div>
<div>
<pagination
v-if="result && result.results.length > 0"
v-if="result && result.count > paginateBy"
@page-changed="selectPage"
:compact="true"
:current="page"
......
......@@ -65,7 +65,7 @@
</div>
<div>
<pagination
v-if="result && result.results.length > 0"
v-if="result && result.count > paginateBy"
@page-changed="selectPage"
:compact="true"
:current="page"
......
......@@ -76,7 +76,7 @@
</div>
<div>
<pagination
v-if="result && result.results.length > 0"
v-if="result && result.count > paginateBy"
@page-changed="selectPage"
:compact="true"
:current="page"
......
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