Fix performer height/weight clearing (#3520)

This commit is contained in:
DingDongSoLong4 2023-03-10 03:02:07 +02:00 committed by GitHub
parent 7a2ee7cdda
commit 57951fe6a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -424,6 +424,8 @@ export const PerformerEditPanel: React.FC<IPerformerDetails> = ({
input: {
...input,
gender: input.gender || null,
height_cm: input.height_cm || null,
weight: input.weight || null,
},
},
});
@ -437,6 +439,8 @@ export const PerformerEditPanel: React.FC<IPerformerDetails> = ({
id: performer.id!,
...input,
gender: input.gender || null,
height_cm: input.height_cm || null,
weight: input.weight || null,
},
},
});