Include "meh" pronouns as well

Co-authored-by: Vivien <vivienvielva@gmail.com>
This commit is contained in:
Jasmin 2023-07-14 10:50:11 +02:00 committed by GitHub
parent c4c541ecbf
commit 6abbe93219
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ async function queryPronounsFromPronounsPage(username) {
// If we don't have a value yet, just take the first profile.
if (!pronouns) pronouns = profiles[0].pronouns;
let val = pronouns.find((x) => x.opinion === "yes").value;
let val = pronouns.find((x) => x.opinion === "yes" || x.opinion === "meh").value;
val = sanitizePronounPageValue(val);
return val;
}