fix: check correct array for fields notice in edit member page

This commit is contained in:
Sam 2023-04-08 00:29:56 +02:00
parent 28db9acc81
commit 97ffb2eab5
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@
</div> </div>
</TabPane> </TabPane>
<TabPane tabId="fields" tab="Fields"> <TabPane tabId="fields" tab="Fields">
{#if data.user.fields.length === 0} {#if data.member.fields.length === 0}
<Alert class="mt-3" color="secondary" fade={false}> <Alert class="mt-3" color="secondary" fade={false}>
Fields are extra categories you can add separate from names and pronouns.<br /> Fields are extra categories you can add separate from names and pronouns.<br />
For example, you could use them for gender terms, honorifics, or compliments. For example, you could use them for gender terms, honorifics, or compliments.