Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #391 from openlattice/bugfix/APPS-2794-default-mos…
Browse files Browse the repository at this point in the history
…t-recent-enrollment

Bugfix/APPS-2794 — default most recent enrollment
  • Loading branch information
giuliacampana authored Mar 3, 2021
2 parents 0b6eda0 + f9d46e3 commit ae46288
Show file tree
Hide file tree
Showing 12 changed files with 489 additions and 440 deletions.
8 changes: 2 additions & 6 deletions src/components/participant/EnrollmentStatusSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,12 @@ const StatusText = styled.div`

type Props = {
enrollmentStatus :Map;
firstName :string;
violations :List;
warnings :List;
};

const EnrollmentStatusSection = ({
enrollmentStatus,
firstName,
violations,
warnings,
} :Props) => {
Expand Down Expand Up @@ -104,10 +102,8 @@ const EnrollmentStatusSection = ({
</CardSegment>
</Card>
<AddNewPlanStatusModal
currentStatus={status}
isOpen={isChangeStatusModalVisible}
onClose={() => setChangeStatusModalVisibility(false)}
personName={firstName} />
isVisible={isChangeStatusModalVisible}
onClose={() => setChangeStatusModalVisibility(false)} />
</SectionWrapper>
);
};
Expand Down
352 changes: 0 additions & 352 deletions src/containers/participant/AddNewPlanStatusForm.js

This file was deleted.

Loading

0 comments on commit ae46288

Please sign in to comment.