added pagination

This commit is contained in:
2020-11-26 23:09:59 +01:00
parent f59f15e370
commit 04cd9e1f92
5 changed files with 40 additions and 11 deletions

View File

@@ -7,8 +7,13 @@
</b-row>
<big-chungus-loader text="Fetching collections..." v-if="processing"/>
<b-row v-else>
<collections-list-element :title="c.name" :count="c.element_count" :type="c.type" @click="openCollection(c.id)"
:key="c.id" v-for="c in collections"/>
<collections-list-element
:title="c.name"
:count="c.element_count"
:type="c.type"
@click="openCollection(c.id)"
:key="c.id"
v-for="c in collections"/>
</b-row>
</b-container>
</template>