New: Show all options when authentication modal is open
This commit is contained in:
parent
7f5769ab70
commit
c7d6c0f452
|
@ -81,8 +81,6 @@ function AuthenticationRequiredModalContent(props) {
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
{
|
|
||||||
authenticationEnabled ?
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>Authentication Required</FormLabel>
|
<FormLabel>Authentication Required</FormLabel>
|
||||||
|
|
||||||
|
@ -94,12 +92,8 @@ function AuthenticationRequiredModalContent(props) {
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
{...authenticationRequired}
|
{...authenticationRequired}
|
||||||
/>
|
/>
|
||||||
</FormGroup> :
|
</FormGroup>
|
||||||
null
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
authenticationEnabled ?
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>Username</FormLabel>
|
<FormLabel>Username</FormLabel>
|
||||||
|
|
||||||
|
@ -109,12 +103,8 @@ function AuthenticationRequiredModalContent(props) {
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
{...username}
|
{...username}
|
||||||
/>
|
/>
|
||||||
</FormGroup> :
|
</FormGroup>
|
||||||
null
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
authenticationEnabled ?
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>Password</FormLabel>
|
<FormLabel>Password</FormLabel>
|
||||||
|
|
||||||
|
@ -124,9 +114,7 @@ function AuthenticationRequiredModalContent(props) {
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
{...password}
|
{...password}
|
||||||
/>
|
/>
|
||||||
</FormGroup> :
|
</FormGroup>
|
||||||
null
|
|
||||||
}
|
|
||||||
</div> :
|
</div> :
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue