Compare commits

..

1 Commits

Author SHA1 Message Date
b2c6a2e525
add pagination
Some checks failed
continuous-integration/drone/push Build is failing
2022-01-16 16:36:54 +01:00

View File

@ -1,19 +1,13 @@
<!--
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 }}