From c4c1ba477759e042f02c1c6de3399d08ec09e411 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Wed, 15 Dec 2021 00:55:17 +0100 Subject: [PATCH] #292 include pronoun overview on home - fix selectMainPronouns --- routes/profile.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/routes/profile.vue b/routes/profile.vue index c03f993d0..ee1b04aa3 100644 --- a/routes/profile.vue +++ b/routes/profile.vue @@ -210,8 +210,7 @@ best[opinion].push(pronoun); } } - for (let opinion in best) { - if (!best.hasOwnProperty(opinion)) { continue; } + for (let opinion of [1, 0, 3, 2]) { if (best[opinion].length) { return best[opinion]; }