BUG - DashboardView Loads Infinitly #288
Labels
bug
Something isn't working
first-timers-only
Issues specifically for people who are new to open source
good first issue
Good for newcomers
hacktoberfest
Any issue that can contribute to hacktoberfest
Describe the bug
DashboardView
is always in theisLoading
state because there is no error handling if the loading failsDashboardViewModel
functiongetMaintenanceEvents
the linelet querySnapshot = try? await docRef.getDocuments()
doesn't handle any errors and it shouldTo Reproduce
Steps to reproduce the behavior:
DashboardView
loads with aProgressView
Expected behavior
isLoading
false, so that it isn't infinitely showing aProgeressView
Screenshots
isLoading
tofalse
and show the empty view (which will be implemented in IMPROVE - EmptyDashboardView
#286Device Info (please complete the following information):
Additional Context
isLoading to
false`The text was updated successfully, but these errors were encountered: