Merge pull request #4437 from influxdata/flux/remove-duplicate-service-getter

Remove duplicate service getter from DE
flux/fix-missing-function-warning
Alirie Gray 2018-09-12 14:38:02 -07:00 committed by GitHub
commit 4df19c9d62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 12 deletions

View File

@ -441,18 +441,6 @@ export class DataExplorer extends PureComponent<Props, State> {
return ''
}
private get service(): Service {
const {sourceLink, services} = this.props
let service: Service = null
if (sourceLink.indexOf('services') !== -1) {
service = services.find(s => {
return s.links.self === sourceLink
})
}
return service
}
private get visualizationOptions(): VisualizationOptions {
const {
visType,