Skip to content

Commit

Permalink
hotfix: AppContainer not rendering on mobile Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Abigail Watson authored and Abigail Watson committed Apr 28, 2021
1 parent 23d83ce commit 785ea28
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ [email protected]
[email protected]
[email protected]
[email protected]
symptomatic:[email protected]
symptomatic:[email protected]
symptomatic:[email protected]
[email protected]
tmeasday:[email protected]
[email protected]
Expand Down
7 changes: 6 additions & 1 deletion client/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import logger from '../app/Logger';

import { ServerStyleSheets, ThemeProvider } from '@material-ui/core/styles';

import AppContainer from "/app/layout/AppContainer.jsx";

const accountsRest = new RestClient({
// apiHost: 'http://localhost:4000',
Expand All @@ -37,9 +38,13 @@ onPageLoad(async function(){
Session.set('last_reloaded_url', window.location.search)

const preloadedState = window.__PRELOADED_STATE__;
const AppContainer = (await import("/app/layout/AppContainer.jsx")).default;
logger.debug("onPageLoad().preloadedState", preloadedState);

// const AppContainer = (await import("/app/layout/AppContainer.jsx")).default;

let searchParams = new URLSearchParams(get(preloadedState, 'url.path'));
logger.debug("onPageLoad().searchParams", searchParams);

if(searchParams.get('iss')){
Session.set('smartOnFhir_iss', searchParams.get('iss'));
}
Expand Down
2 changes: 1 addition & 1 deletion configs/settings.nodeonfhir.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"https://raw.githubusercontent.com/symptomatic/node-on-fhir/development/docs/assets/ScreenShot-Geomapping.png"
]
},
"loggingThreshold": "info",
"loggingThreshold": "trace",
"fhirAutoSubscribe": true,
"capabilityStatement": {
"resourceTypes": ["Condition", "Device", "Encounter", "Immunization", "Medication", "MedicationOrder", "MedicationRequest", "MedicationStatement", "Observation", "Procedure"]
Expand Down
30 changes: 26 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 785ea28

Please sign in to comment.