implement review comments
This commit is contained in:
parent
aae52ae434
commit
f15e0de666
|
@ -2,11 +2,11 @@
|
||||||
import {
|
import {
|
||||||
Body,
|
Body,
|
||||||
Input,
|
Input,
|
||||||
Select,
|
Label,
|
||||||
ModalContent,
|
ModalContent,
|
||||||
notifications,
|
notifications,
|
||||||
|
Select,
|
||||||
Toggle,
|
Toggle,
|
||||||
Label,
|
|
||||||
} from "@budibase/bbui"
|
} from "@budibase/bbui"
|
||||||
import { createValidationStore, emailValidator } from "helpers/validation"
|
import { createValidationStore, emailValidator } from "helpers/validation"
|
||||||
import { users } from "stores/portal"
|
import { users } from "stores/portal"
|
||||||
|
@ -78,23 +78,18 @@
|
||||||
label="Add new user via:"
|
label="Add new user via:"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{#if basic}
|
|
||||||
<Input
|
<Input
|
||||||
type="email"
|
type="email"
|
||||||
label="Email"
|
label="Email"
|
||||||
bind:value={$email}
|
bind:value={$email}
|
||||||
error={$touched && $error}
|
error={$touched && $error}
|
||||||
/>
|
|
||||||
<Input disabled label="Password" value={password} />
|
|
||||||
{:else}
|
|
||||||
<Input
|
|
||||||
type="email"
|
|
||||||
bind:value={$email}
|
|
||||||
error={$touched && $error}
|
|
||||||
placeholder="john@doe.com"
|
placeholder="john@doe.com"
|
||||||
label="Email"
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
{#if basic}
|
||||||
|
<Input disabled label="Password" value={password} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class="toggle">
|
<div class="toggle">
|
||||||
<Label size="L">Development access</Label>
|
<Label size="L">Development access</Label>
|
||||||
|
|
Loading…
Reference in New Issue