1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Fix data fetch for nested providers, JSON arrays or array fields not working

This commit is contained in:
Andrew Kingston 2022-01-18 15:34:10 +00:00 committed by mike12345567
parent 858d7b4b5a
commit 2394f7faee

View file

@ -111,12 +111,6 @@ export default class DataFetch {
*/
async getInitialData() {
const { datasource, filter, sortColumn, paginate } = this.options
const tableId = datasource?.tableId
// Ensure table ID exists
if (!tableId) {
return
}
// Fetch datasource definition and determine feature flags
const definition = await this.constructor.getDefinition(datasource)