diff --git a/frontend/src/lib/components/PronounLink.svelte b/frontend/src/lib/components/PronounLink.svelte index 59acf21..bd73bf6 100644 --- a/frontend/src/lib/components/PronounLink.svelte +++ b/frontend/src/lib/components/PronounLink.svelte @@ -9,8 +9,14 @@ } else { const split = pronouns.pronouns.split("/"); if (split.length < 2) pronounText = split.join("/"); - else pronounText = split.slice(0, 2).join("/") + else pronounText = split.slice(0, 2).join("/"); } + + const shouldLink = pronouns.pronouns.split("/").length === 5; -{pronounText} +{#if shouldLink} + {pronounText} +{:else} + {pronounText} +{/if}