1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-07-01 23:20:13 +02:00

fix: set password manually input not shown

This commit is contained in:
Elias Schneider 2023-03-12 19:28:50 +01:00
parent cb1a0d4090
commit 8ff417a013
No known key found for this signature in database
GPG Key ID: 07E623B294202B6C

View File

@ -79,13 +79,12 @@ const Body = ({
})}
/>
)}
{form.values.setPasswordManually ||
(!smtpEnabled && (
<PasswordInput
label="Password"
{...form.getInputProps("password")}
/>
))}
{(form.values.setPasswordManually || !smtpEnabled) && (
<PasswordInput
label="Password"
{...form.getInputProps("password")}
/>
)}
<Switch
styles={{
body: {