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: Merge & Test
    • TBD
    • Resolution: Unresolved
    • 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

          1. image-2022-04-01-15-22-38-280.png
            96 kB
            Vineet Sharma
          2. image-2022-04-01-15-25-38-972.png
            96 kB
            Vineet Sharma

          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: