Skip to content

Commit

Permalink
Merge pull request #1891 from UCSF-IGHS/cohort-workspace-fix
Browse files Browse the repository at this point in the history
(fix) Fixed Workspace window error to use WorkspaceContainer
  • Loading branch information
alaboso authored Jul 2, 2024
2 parents dcd9994 + d4d59dd commit 4de92d3
Show file tree
Hide file tree
Showing 2 changed files with 1,359 additions and 709 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import relativeTime from 'dayjs/plugin/relativeTime';
import { AddPatientToListOverflowMenuItem } from '../modals/add-patient-to-list-modal.component';
import { fetchPatientLastEncounter } from '../../api/api';
import { launchForm } from '../../utils/ohri-forms-commons';
import { navigate, WorkspaceWindow } from '@openmrs/esm-framework';
import { WorkspaceContainer, navigate } from '@openmrs/esm-framework';

interface PatientMetaConfig {
location: { name: string };
Expand Down Expand Up @@ -69,7 +69,7 @@ export const LaunchableFormMenuItem = ({
navigate({ to: patientUrl });
}}
/>
<WorkspaceWindow contextKey={`patient/${patientUuid}`} />
<WorkspaceContainer showSiderailAndBottomNav contextKey={`patient/${patientUuid}`} />
</>
)}
</>
Expand Down
Loading

0 comments on commit 4de92d3

Please sign in to comment.