This commit is contained in:
mike12345567 2021-07-05 09:38:01 +01:00
parent 57278b4532
commit f450e38dab
1 changed files with 10 additions and 2 deletions

View File

@ -123,11 +123,19 @@
</div>
<div class="field">
<Label size="L">First name</Label>
<Input thin value={$userFetch?.data?.firstName} on:blur={updateUserFirstName} />
<Input
thin
value={$userFetch?.data?.firstName}
on:blur={updateUserFirstName}
/>
</div>
<div class="field">
<Label size="L">Last name</Label>
<Input thin value={$userFetch?.data?.lastName} on:blur={updateUserLastName} />
<Input
thin
value={$userFetch?.data?.lastName}
on:blur={updateUserLastName}
/>
</div>
<!-- don't let a user remove the privileges that let them be here -->
{#if userId !== $auth.user._id}