Skip to content

Commit

Permalink
Fix unsetting bra size
Browse files Browse the repository at this point in the history
  • Loading branch information
InfiniteStash committed Mar 8, 2024
1 parent 920323c commit 277b321
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/pages/performers/performerForm/PerformerForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ const PerformerForm: FC<PerformerProps> = ({
const [cupSize, bandSize] = parseBraSize(data.braSize);
performerData.cup_size = cupSize;
performerData.band_size = bandSize ?? 0;
} else if (performer?.band_size || performer?.cup_size) {
performerData.cup_size = null;
performerData.band_size = null;
}

if (
Expand Down

0 comments on commit 277b321

Please sign in to comment.