medi-connect icon indicating copy to clipboard operation
medi-connect copied to clipboard

[Bug] Fetching location for infinite time after User denied Geolocation

Open iam-sarthak opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Bug Description?

On Hospitals Around page, when a user denies location access, the system continues displaying "Fetching location" indefinitely. Instead of this, an appropriate message, such as "User denied Geolocation," should be shown to provide clear feedback.

Expected Behavior:

  • If the user denies geolocation access, the app should display a message like "User denied Geolocation" rather than continuously showing "Fetching location.

Add Screenshots

image

What browsers are you seeing the problem on?

No response

Record

  • [X] I agree to follow this project's Code of Conduct
  • [X] I'm a GSSOC contributor
  • [X] I want to work on this issue (Optional)
  • [X] I'm willing to provide further clarification or assistance if needed.

iam-sarthak avatar Oct 16 '24 05:10 iam-sarthak

@iam-sarthak okay

Luson045 avatar Oct 16 '24 15:10 Luson045