Closed jjjorgina closed 7 months ago
This wrong behaviour is fixed (as shown in video). I've added defaultView prop to 'grid' at 'Protofy/protolib/bundles/pages/adminPages.tsx' https://github.com/Protofy-xyz/Protofy/assets/108338080/6dd64b74-73c4-4050-bbad-9779cd761d51
Expected Behavior
In the DataView component, when the defaultView prop is set to 'grid', the information should load properly without any manual intervention.
Current Behavior
However, when the defaultView is set to 'grid', the information fails to load initially, leaving the card empty. The data only appears after changing the view to list or raw and then returning to the grid view.
Steps to Reproduce
Context (Environment)
Issue demo
https://github.com/Protofy-xyz/Protofy/assets/111370411/81e3ccf0-a063-41aa-b428-2701d428cf2c