Skip to content

Commit 9d6f4e0

Browse files
Properly copy database-password
1 parent 3e65a2d commit 9d6f4e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/scripts/components/server/databases/DatabaseRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export default ({ database, className }: Props) => {
127127
<Can action={'database.view_password'}>
128128
<div css={tw`mt-6`}>
129129
<Label>Password</Label>
130-
<CopyOnClick text={database.password?.valueOf}><Input type={'text'} readOnly value={database.password}/></CopyOnClick>
130+
<CopyOnClick text={database.password}><Input type={'text'} readOnly value={database.password}/></CopyOnClick>
131131
</div>
132132
</Can>
133133
<div css={tw`mt-6`}>

0 commit comments

Comments
 (0)