Uploaded image for project: 'OpenMRS 3.x Frontend'
  1. OpenMRS 3.x Frontend
  2. O3-1221

Load active visits widget only when Location is defined

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • TBD
    • Resolution: Fixed
    • None
    • None
    • None
    • Low

    Description

      When fetching active visits with the `location` parameter as undefined, the backend throws the 404 error. Fetch the active visits only when the `location` parameter is defined.

      Package: patient-management/packages/esm-active-visits-app

      When the home page loads after the first login, it takes time to fetch the `session` details from the backend. The active visits are fetched with the location parameter as undefined the following error occurs:

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                jwnasambu Juliet Wamalwa
                vasharma05 Vineet Sharma
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: