Skip to content

Commit

Permalink
feat: remove dist info when export data metas
Browse files Browse the repository at this point in the history
  • Loading branch information
ObservedObserver committed Oct 21, 2023
1 parent 19feec4 commit bb227ab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/rath-client/src/store/dataSourceStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
}
}

Expand Down

1 comment on commit bb227ab

@vercel
Copy link

@vercel vercel bot commented on bb227ab Oct 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.