Compare commits

..

1 Commits

Author SHA1 Message Date
f36d55ebc8
add pagination
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-01-16 16:39:02 +01:00

View File

@ -1,13 +1,19 @@
<!--
SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template> <template>
<ul class="pagination"> <ul class="pagination">
<li <li
class="page-item" class="page-item"
:class="{ active: page === current }" :class="{ active: page === current }"
v-for="page in pages" v-for="page in pages"
:key="page" :key="page"
> >
<span <span
class="page-link pointer" class="page-link pointer"
@click="onPageClicked(page)" @click="onPageClicked(page)"
> >
{{ page }} {{ page }}