useTableQuery check doesn't handle status code 500 correctly
Ben-Ho opened this issue · comments
Ben-Ho commented
somehow data is an empty object ({}) and does not get catched by if (!ret.data) https://github.com/vivid-planet/react-admin/blob/master/packages/react-admin-core/src/table/useTableQuery.ts#L122, resolveTableData is called with an empty object.
is this intended?
Niko Sams commented
No, this is not intended :)
please provide a PR