hippofish/src/client/app/common/views/pages/following.vue
2019-05-21 03:07:11 +09:00

25 lines
511 B
Vue

<template>
<mk-user-list :pagination="pagination" :extract="items => items.map(item => item.followee)">{{ $t('@.following') }}</mk-user-list>
</template>
<script lang="ts">
import Vue from 'vue';
import parseAcct from '../../../../../misc/acct/parse';
import i18n from '../../../i18n';
export default Vue.extend({
i18n: i18n(),
data() {
return {
pagination: {
endpoint: 'users/following',
limit: 30,
params: {
...parseAcct(this.$route.params.user),
}
},
};
},
});
</script>