aboutsummaryrefslogtreecommitdiff
path: root/src/components/follow_requests
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/follow_requests')
-rw-r--r--src/components/follow_requests/follow_requests.js4
-rw-r--r--src/components/follow_requests/follow_requests.vue6
2 files changed, 2 insertions, 8 deletions
diff --git a/src/components/follow_requests/follow_requests.js b/src/components/follow_requests/follow_requests.js
index 69c48d14..704a76c6 100644
--- a/src/components/follow_requests/follow_requests.js
+++ b/src/components/follow_requests/follow_requests.js
@@ -1,10 +1,8 @@
import FollowRequestCard from '../follow_request_card/follow_request_card.vue'
-import List from '../list/list.vue'
const FollowRequests = {
components: {
- FollowRequestCard,
- List
+ FollowRequestCard
},
computed: {
requests () {
diff --git a/src/components/follow_requests/follow_requests.vue b/src/components/follow_requests/follow_requests.vue
index d5e45b9d..36901fb4 100644
--- a/src/components/follow_requests/follow_requests.vue
+++ b/src/components/follow_requests/follow_requests.vue
@@ -4,11 +4,7 @@
{{$t('nav.friend_requests')}}
</div>
<div class="panel-body">
- <List :items="requests">
- <template slot="item" slot-scope="{item}">
- <FollowRequestCard :user="item" />
- </template>
- </List>
+ <FollowRequestCard v-for="request in requests" :key="request.id" :user="request" class="list-item"/>
</div>
</div>
</template>