We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f47ee28 commit 535e3b8Copy full SHA for 535e3b8
frontend/src/components/app/recommendations/Recommendations.vue
@@ -150,6 +150,9 @@ export default {
150
filterOutBlockedUsers(recommendations) {
151
let i = recommendations.length;
152
const { blocks } = this.$store.getters.getLoggedInUser;
153
+ if (!blocks) {
154
+ return recommendations;
155
+ }
156
let blockedIds = [];
157
for (let j = 0; j < blocks.length; j += 1) {
158
blockedIds.push(blocks[j].blocked_id);
0 commit comments