26 lines
511 B
Vue
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>
|