(dataSource, partialInsight)
| 51436 | } |
| 51437 | } |
| 51438 | load(dataSource, partialInsight) { |
| 51439 | //clone so that we do not modify original object |
| 51440 | dataSource = (0, _sanddanceExplorer.SandDance).VegaDeckGl.util.clone(dataSource); |
| 51441 | this.setState({ |
| 51442 | dataSource |
| 51443 | }); |
| 51444 | document.title = `SandDance - ${dataSource.displayName}`; |
| 51445 | return this.explorer.load(dataSource, (columns)=>{ |
| 51446 | return partialInsight || this.props.insights && this.props.insights[dataSource.id]; |
| 51447 | }, this.props.initialOptions && (0, _sanddanceExplorer.SandDance).VegaDeckGl.util.deepMerge({}, this.props.initialOptions["*"], this.props.initialOptions[dataSource.id])); |
| 51448 | } |
| 51449 | dataSourceError(dataSource) { |
| 51450 | switch(dataSource.dataSourceType){ |
| 51451 | case "local": |
no test coverage detected