()
| 14405 | this.activateDataBrowserItem(sideTabId, dataScopeId); |
| 14406 | } |
| 14407 | getBestDataScopeId() { |
| 14408 | let dataScopeId; |
| 14409 | const selectionState = this.viewer && this.viewer.getSelection(); |
| 14410 | if (selectionState && selectionState.selectedData && selectionState.selectedData.length) dataScopeId = (0, _dataScope.DataScopeId).SelectedData; |
| 14411 | else if (this.state.filteredData) dataScopeId = (0, _dataScope.DataScopeId).FilteredData; |
| 14412 | else dataScopeId = (0, _dataScope.DataScopeId).AllData; |
| 14413 | return dataScopeId; |
| 14414 | } |
| 14415 | activateDataBrowserItem(sideTabId, dataScopeId) { |
| 14416 | if (!this.viewer) return; |
| 14417 | let itemToActivate; |
no test coverage detected