2023-01-27 16:15:46 +01:00
|
|
|
<script setup lang="ts">
|
|
|
|
definePageMeta({
|
|
|
|
name: 'list-accounts',
|
|
|
|
})
|
|
|
|
|
|
|
|
const params = useRoute().params
|
2024-02-21 16:20:08 +01:00
|
|
|
const listId = computedEager(() => params.list as string)
|
2023-01-27 16:15:46 +01:00
|
|
|
|
2024-02-21 16:20:08 +01:00
|
|
|
const paginator = useMastoClient().v1.lists.$select(listId.value).accounts.list()
|
2023-01-27 16:15:46 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<CommonPaginator :paginator="paginator">
|
|
|
|
<template #default="{ item }">
|
|
|
|
<ListAccount
|
|
|
|
:account="item"
|
|
|
|
:list="listId"
|
|
|
|
hover-card
|
|
|
|
border="b base" py2 px4
|
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
</CommonPaginator>
|
|
|
|
</template>
|