Skip to content

Commit 8a2174e

Browse files
authored
Merge pull request #1278 from CruGlobal/allow-users-to-delete-anniversary
Allow users to delete anniversary field on Person modal
2 parents 8734e41 + 0eac713 commit 8a2174e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.pnp.cjs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/Contacts/ContactDetails/ContactDetailsTab/People/Items/PersonModal/PersonShowMore/PersonShowMore.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export const PersonShowMore: React.FC<PersonShowMoreProps> = ({
185185
? backupAnniversaryDate
186186
: anniversaryDate
187187
}
188-
onChange={(date) => date && handleDateChange(date)}
188+
onChange={(date) => handleDateChange(date)}
189189
/>
190190
</Grid>
191191
</Grid>

0 commit comments

Comments
 (0)