Skip to content

Commit ab440ae

Browse files
Anthony KinseyAnthony Kinsey
Anthony Kinsey
authored and
Anthony Kinsey
committed
fix: dont show pagination in mentions view unless there is data
1 parent 504f9de commit ab440ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/Mentions.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
</a>
8080
</div>
8181
</div>
82-
<div class="pagination-simple">
82+
<div class="pagination-simple" v-if="mentionData?.prev || mentiondata?.next">
8383
<button @click="pageResults(-1)" :disabled="!mentionData?.prev">&#10094; Prev</button>
8484
<button @click="pageResults(1)" :disabled="!mentionData?.next">Next &#10095;</button>
8585
</div>

0 commit comments

Comments
 (0)