Merge pull request #4378 from influxdata/flux/save-source-influxql-ceo

Fix InfluxQL source saving
pull/4381/head
Alirie Gray 2018-09-06 14:52:11 -07:00 committed by GitHub
commit eeeba66259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -275,11 +275,8 @@ class CellEditorOverlay extends Component<Props, State> {
null
)
const timeRange = getTimeRange(queryConfig)
const source = getDeep<string | null>(
queryConfig,
'source.links.self',
null
)
const source = getDeep<string | null>(q, 'source', null)
return {
...q,
query: