-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Issue summary
If I have an empty array fed to resource list I see nothing.
Expected behavior
I suspect it should show some kind of empty message and keep header displayed to allow filtering etc. after all I do specify resource name so something like "Couldn't find resourceName.plural" or something like that would be appropriate.
Actual behavior
As soon as items becomes []
(an empty array) everything disappears.
Steps to reproduce the problem
- Go here https://codesandbox.io/s/236qy68230?module=App.js
- Set items to
[]
- Observe everything disappear
Specifications
- Are you using the React components? (Y/N):Y
- Polaris version number: 3.9.0
- Browser: Chrome
- Device: Desktop
- Operating System: Ubuntu
Metadata
Metadata
Assignees
Labels
No labels