Skip to content

Commit aaaf779

Browse files
authored
Merge pull request #2265
* [#CODAP-1036] Bug fix: When two datasets are present, dropping numeri…
1 parent 91d1fea commit aaaf779

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

v3/src/components/data-display/models/data-configuration-model.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,8 @@ export const DataConfigurationModel = types
10291029
setDataset(dataset: IDataSet | undefined, metadata: IDataSetMetadata | undefined) {
10301030
self.dataset = dataset
10311031
self.metadata = metadata
1032+
// Call the following immediately rather than as a reaction because of timing issues
1033+
self.handleDataSetChange(dataset)
10321034
},
10331035
clearAttributes() {
10341036
self._attributeDescriptions.clear()

0 commit comments

Comments
 (0)