Commit c4b8f85a authored by Eliot Berriot's avatar Eliot Berriot 💬

Merge branch 'playlistarrow' into 'develop'

Fix #681: hide Pagination component if only 1 page of content

See merge request funkwhale/funkwhale!562
parents fa1430d3 0a7fd50d
Hide pagination when there is only one page of results (#681)
\ No newline at end of file
<template> <template>
<div class="ui pagination menu" role="navigation" :aria-label="labels.pagination"> <div v-if='maxPage > 1' class="ui pagination menu" role="navigation" :aria-label="labels.pagination">
<a href <a href
:disabled="current - 1 < 1" :disabled="current - 1 < 1"
@click.prevent.stop="selectPage(current - 1)" @click.prevent.stop="selectPage(current - 1)"
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
{{ page }} {{ page }}
</a href> </a href>
<div v-else class="disabled item"> <div v-else class="disabled item">
...
</div> </div>
</template> </template>
<a href <a href
......
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