Skip to content
Snippets Groups Projects
Commit c4b8f85a authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'playlistarrow' into 'develop'

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

See merge request !562
parents fa1430d3 0a7fd50d
No related branches found
No related tags found
No related merge requests found
Hide pagination when there is only one page of results (#681)
\ No newline at end of file
<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
:disabled="current - 1 < 1"
@click.prevent.stop="selectPage(current - 1)"
......@@ -13,7 +13,7 @@
{{ page }}
</a href>
<div v-else class="disabled item">
...
</div>
</template>
<a href
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment