1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-18 16:48:26 +09:00
MisskeyIO/src/client/app/common/views/pages/followers.vue
2019-05-21 03:07:11 +09:00

26 lines
511 B
Vue

<template>
<mk-user-list :pagination="pagination" :extract="items => items.map(item => item.follower)">{{ $t('@.followers') }}</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/followers',
limit: 30,
params: {
...parseAcct(this.$route.params.user),
}
},
};
},
});
</script>