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]; }