From e2307d0c596b32945c9203819f7ac204a6c4fb2f Mon Sep 17 00:00:00 2001 From: Rithvik Nishad Date: Thu, 6 Feb 2025 13:59:13 +0000 Subject: [PATCH] Resolve conflicts for `develop` to `staging` (#10451) * Fix Content-type header in Scribe.tsx (#7631) (#7634) Co-authored-by: Ashesh <3626859+Ashesh3@users.noreply.github.com> * Merge develop to staging v24.16.0 (#7667) * flaky test (#7657) * Fix round type display and qr field (#7666) * Revert "Merge develop to staging v24.16.0 (#7667)" (#7669) This reverts commit a91230a7a4c032ccae699fd0435b2f9e2e200e8b. * Fixes neurological tab from crashing in older browsers (patch to `staging`) * Sainak/fix/pdf-worker-mime-type (#8513) * Fixes file upload missing pagination component * Plausible: Track applied filters (#8641) * disable abha number linking when health facility id is not present * Revert "disable abha number linking when health facility id is not present" This reverts commit 63a28a565cde5f735e8d74bb5c0bcefdd75f34ae. * include icons used in enabled apps while treeshaking the icons * Fix min date for discharge (#9082) * replicated the PR 9139 * User creation form bug fix (#9406) * fixed critical care update redirection * expose env variables to plugins via window * Staging Patch: Fix setting time on datetime question causing duplicates (#10370) * remove hardcoded date encounter notes (#10382) * added PatientDetailsTabDemographyGeneralInfo plaggable (#10417) * Staging Patch: Remove appointment type section from patient details page (#10432) --------- Co-authored-by: Gigin George Co-authored-by: Mohammed Nihal <57055998+nihal467@users.noreply.github.com> Co-authored-by: Ashesh <3626859+Ashesh3@users.noreply.github.com> Co-authored-by: Khavin Shankar Co-authored-by: Vignesh Hari Co-authored-by: Aakash Singh Co-authored-by: Shivank Kacker Co-authored-by: Jacob John Jeevan <40040905+Jacobjeevan@users.noreply.github.com> --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index c358df51e7a..9154b832187 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -15,7 +15,7 @@ declare global { } } -// Set API URL from environment variable +// Expose Environment variable to window object for use in plugins window.CARE_API_URL = import.meta.env.REACT_CARE_API_URL; window.__CORE_ENV__ = careConfig;