|
|
@@ -1,15 +1,12 @@
|
|
1
|
1
|
<template lang="pug">
|
|
2
|
2
|
main.view--home
|
|
3
|
|
- p {{cP._profile.user_name}}
|
|
|
3
|
+ p {{ cP._profile.user_name }}
|
|
4
|
4
|
article.w-flex.column.align-center
|
|
5
|
5
|
template(v-if='isLoading')
|
|
6
|
6
|
w-spinner(bounce)
|
|
7
|
7
|
|
|
8
|
8
|
template(v-else-if='!isLoading && cards.length > 0')
|
|
9
|
|
- ProfileCardList(
|
|
10
|
|
- :cards='cards'
|
|
11
|
|
- @loadMore='onLoadMore'
|
|
12
|
|
- )
|
|
|
9
|
+ ProfileCardList(:cards='cards' @loadMore='onLoadMore')
|
|
13
|
10
|
|
|
14
|
11
|
template(v-else-if='cards.length === 0')
|
|
15
|
12
|
p No profiles in match_queue.
|
|
|
@@ -71,7 +68,9 @@ export default {
|
|
71
|
68
|
}
|
|
72
|
69
|
},
|
|
73
|
70
|
computed: {
|
|
74
|
|
- cP() {return currentProfile},
|
|
|
71
|
+ cP() {
|
|
|
72
|
+ return currentProfile
|
|
|
73
|
+ },
|
|
75
|
74
|
cards() {
|
|
76
|
75
|
let initialCards = currentProfile.queue.map(qProfile =>
|
|
77
|
76
|
convertToCard(qProfile),
|