You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
Currently, when showing the search component for the search term, the component shows the message "we could not find locations" initially before showing the actual data after that has been loaded. We need to show a loading state instead and only show the message if no data was found.
I think the best solution is probably to load all data in the parent PPMClient component and only pass the current state (e.g. in this case loading/loaded with data/loaded with no data) to the Search and Location child components.
The text was updated successfully, but these errors were encountered:
Currently, when showing the search component for the search term, the component shows the message "we could not find locations" initially before showing the actual data after that has been loaded. We need to show a loading state instead and only show the message if no data was found.
I think the best solution is probably to load all data in the parent
PPMClient
component and only pass the current state (e.g. in this caseloading
/loaded with data
/loaded with no data
) to theSearch
andLocation
child components.The text was updated successfully, but these errors were encountered: