diff --git a/packages/rath-client/src/store/dataSourceStore.ts b/packages/rath-client/src/store/dataSourceStore.ts index c5495495..8de3e2c3 100644 --- a/packages/rath-client/src/store/dataSourceStore.ts +++ b/packages/rath-client/src/store/dataSourceStore.ts @@ -486,9 +486,10 @@ export class DataSourceStore { const { cleanedData, fieldMetas } = this; return { dataSource: cleanedData, - fields: fieldMetas.map(f => ({ - ...f - })) + fields: fieldMetas.map(f => { + const { features, distribution, ...others } = f + return others + }) } }