Skip to content

Commit e678537

Browse files
authored
Merge pull request pterodactyl#2838 from AreYouRlyScared/fix2807
Properly copy database-password
2 parents 1f0883e + 9d6f4e0 commit e678537

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)