Skip to content

Commit 3009d99

Browse files
committed
skeleton for recommendations metadata
1 parent 9dab38b commit 3009d99

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

frontend/src/views/app/Browse.vue

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,21 @@ export default {
2222
},
2323
data: () => ({
2424
recommendations: [],
25+
recommendationsAnalysis: {
26+
age: {
27+
min: null,
28+
max: null,
29+
},
30+
distance: {
31+
min: null,
32+
max: null,
33+
},
34+
fame: {
35+
min: null,
36+
max: null,
37+
},
38+
interests: [],
39+
},
2540
}),
2641
async created() {
2742
if (this.recommendationsFromSettingUp) {
@@ -30,6 +45,9 @@ export default {
3045
const recommendationsRequest = await this.$http.get('/recommendations');
3146
this.recommendations = recommendationsRequest.data.recommendations;
3247
}
48+
for (let i = 0; i < this.recommendations.length; i += 1) {
49+
console.log(this.recommendations[i]);
50+
}
3351
},
3452
};
3553

0 commit comments

Comments
 (0)