Skip to content

Commit

Permalink
Merge pull request #27 from nitheesh-aot/develop
Browse files Browse the repository at this point in the history
permission update for pre-hook-update-db
  • Loading branch information
dinesh-aot authored Aug 20, 2024
2 parents 2317d17 + efca3f9 commit 7263cee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions compliance-web/src/components/App/Staff/StaffModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,7 @@ const StaffModal: React.FC<StaffModalProps> = ({ onSubmit, staff }) => {

return (
<Box width="520px">
<DialogTitle>
{staff
? `${formData.name?.first_name} ${formData.name?.last_name}`
: "Add Staff Member"}
</DialogTitle>
<DialogTitle>{staff ? staff.full_name : "Add Staff Member"}</DialogTitle>
<ModalCloseIconButton handleClose={handleClose} />
<Divider />
<DialogContent>
Expand Down

0 comments on commit 7263cee

Please sign in to comment.