Merge pull request #2838 from AreYouRlyScared/fix2807
Properly copy database-password
This commit is contained in:
commit
e678537cd5
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ export default ({ database, className }: Props) => {
|
||||||
<Can action={'database.view_password'}>
|
<Can action={'database.view_password'}>
|
||||||
<div css={tw`mt-6`}>
|
<div css={tw`mt-6`}>
|
||||||
<Label>Password</Label>
|
<Label>Password</Label>
|
||||||
<CopyOnClick text={database.password?.valueOf}><Input type={'text'} readOnly value={database.password}/></CopyOnClick>
|
<CopyOnClick text={database.password}><Input type={'text'} readOnly value={database.password}/></CopyOnClick>
|
||||||
</div>
|
</div>
|
||||||
</Can>
|
</Can>
|
||||||
<div css={tw`mt-6`}>
|
<div css={tw`mt-6`}>
|
||||||
|
|
Loading…
Reference in a new issue