Skip to content

Commit

Permalink
chore: change field list
Browse files Browse the repository at this point in the history
  • Loading branch information
islxyqwe committed May 22, 2024
1 parent 06e899e commit e496e02
Show file tree
Hide file tree
Showing 2 changed files with 117 additions and 118 deletions.
3 changes: 0 additions & 3 deletions packages/graphic-walker/src/dataSourceProvider/memory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ export function createMemoryProvider(initData?: string | null): IDataSourceProvi
async saveSpecs(datasetId, value) {
const dataSet = store.dataSources.find((x) => x.id === datasetId);
if (!dataSet) {
if (!store.visDict[datasetId]) {
throw new Error('cannot find dataset');
}
store.visDict[datasetId] = JSON.parse(value);
listeners.forEach((cb) => cb(IDataSourceEventType.updateSpec, datasetId));
} else {
Expand Down
Loading

0 comments on commit e496e02

Please sign in to comment.