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 db56a64805
commit 6758896f57
1 changed files with 0 additions and 6 deletions

View File

@ -111,12 +111,6 @@ export default class DataFetch {
*/ */
async getInitialData() { async getInitialData() {
const { datasource, filter, sortColumn, paginate } = this.options 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 // Fetch datasource definition and determine feature flags
const definition = await this.constructor.getDefinition(datasource) const definition = await this.constructor.getDefinition(datasource)