| 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": |
| 51452 | return (0, _language.strings).errorDataSourceFromLocal(dataSource); |
| 51453 | case "sample": |
| 51454 | case "url": |
| 51455 | return (0, _language.strings).errorDataSourceFromUrl(dataSource); |
| 51456 | } |
| 51457 | } |
| 51458 | loadError(dataSource) { |
| 51459 | let error = this.dataSourceError(dataSource); |
| 51460 | this.explorer.setState({ |