Update influxdb connection alert text
parent
e53a551d58
commit
ce68f32d4e
|
@ -131,7 +131,7 @@ class SourcePage extends Component {
|
|||
.catch(err => {
|
||||
// dont want to flash this until they submit
|
||||
const error = this._parseError(err)
|
||||
console.error('Error on source creation: ', error)
|
||||
console.error('Error creating InfluxDB connection: ', error)
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -142,10 +142,10 @@ class SourcePage extends Component {
|
|||
.then(({data: sourceFromServer}) => {
|
||||
this.props.addSourceAction(sourceFromServer)
|
||||
this._redirect(sourceFromServer)
|
||||
notify('success', `New source ${source.name} added`)
|
||||
notify('success', `InfluxDB ${source.name} available as a connection`)
|
||||
})
|
||||
.catch(error => {
|
||||
this.handleError('Unable to create source', error)
|
||||
this.handleError('Unable to create InfluxDB connection', error)
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -156,10 +156,10 @@ class SourcePage extends Component {
|
|||
.then(({data: sourceFromServer}) => {
|
||||
this.props.updateSourceAction(sourceFromServer)
|
||||
this._redirect(sourceFromServer)
|
||||
notify('success', `Source ${source.name} updated`)
|
||||
notify('success', `InfluxDB connection ${source.name} updated`)
|
||||
})
|
||||
.catch(error => {
|
||||
this.handleError('Unable to update source', error)
|
||||
this.handleError('Unable to update InfluxDB connection', error)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue