Skip to content

Commit

Permalink
Merge pull request #688 from NBISweden/develop
Browse files Browse the repository at this point in the history
Merge latest fix to production
  • Loading branch information
jhagberg authored Nov 23, 2023
2 parents 968ea9c + 0e2f997 commit b737c3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/individual_breeding_form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ export function IndividualBreedingForm({
"breeding",
newBreeding.breeding_id,
"birth_date",
newBirth.birth_date
newBirthData.date
);
closeDialog();
}
Expand Down
1 change: 1 addition & 0 deletions frontend/src/individual_edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ export function IndividualEdit({ id }: { id: string | undefined }) {
) {
handleUpdateIndividual("birth_date", formatDate(individual?.birth_date));
} else if (
individual?.birth_date &&
individual?.birth_date?.split("-")[0].slice(-2) !=
oldIndividual?.birth_date?.split("-")[0].slice(-2)
) {
Expand Down

0 comments on commit b737c3f

Please sign in to comment.