We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 752ce52 + e104586 commit 42b347bCopy full SHA for 42b347b
frontend/src/components/app/recommendations/Recommendations.vue
@@ -164,6 +164,9 @@ export default {
164
filterOutBlockedUsers(recommendations) {
165
let i = recommendations.length;
166
const { blocks } = this.$store.getters.getLoggedInUser;
167
+ if (!blocks) {
168
+ return recommendations;
169
+ }
170
let blockedIds = [];
171
for (let j = 0; j < blocks.length; j += 1) {
172
blockedIds.push(blocks[j].blocked_id);
0 commit comments