Problem statement
Adds a simple empty state to the locations index page.
Currently, when there are no locations, nothing is displayed. This adds a fallback message to make the behavior more consistent with other listing pages.
Proposed solution
Wrap the existing location list rendering in a conditional check.
If there are locations, render them as usual. Otherwise, display a simple fallback message to inform users that no locations are available.
This keeps the behavior consistent with other listing pages in the demo and improves the overall user experience without changing the design.
Alternative solutions
No response
Additional context
No response
Working on this
Contribute to the discussion to help this move forward. Explain your use cases, discuss possible solutions, research how to adapt existing code, or compatibility concerns.
Once others agree with the proposed changes, anyone can contribute to this. View our contributing guidelines. Add a comment to the issue to explain what approach you are taking.
Problem statement
Adds a simple empty state to the locations index page.
Currently, when there are no locations, nothing is displayed. This adds a fallback message to make the behavior more consistent with other listing pages.
Proposed solution
Wrap the existing location list rendering in a conditional check.
If there are locations, render them as usual. Otherwise, display a simple fallback message to inform users that no locations are available.
This keeps the behavior consistent with other listing pages in the demo and improves the overall user experience without changing the design.
Alternative solutions
No response
Additional context
No response
Working on this
Contribute to the discussion to help this move forward. Explain your use cases, discuss possible solutions, research how to adapt existing code, or compatibility concerns.
Once others agree with the proposed changes, anyone can contribute to this. View our contributing guidelines. Add a comment to the issue to explain what approach you are taking.