mirror of
https://github.com/grafana/grafana.git
synced 2025-09-22 07:53:28 +08:00
improve description for timescaledb option
This commit is contained in:
@ -5,12 +5,14 @@ export class PostgresConfigCtrl {
|
||||
|
||||
current: any;
|
||||
datasourceSrv: any;
|
||||
showTimescaleDBHelp: boolean;
|
||||
|
||||
/** @ngInject **/
|
||||
constructor($scope, datasourceSrv) {
|
||||
this.datasourceSrv = datasourceSrv;
|
||||
this.current.jsonData.sslmode = this.current.jsonData.sslmode || 'verify-full';
|
||||
this.current.jsonData.postgresVersion = this.current.jsonData.postgresVersion || 903;
|
||||
this.showTimescaleDBHelp = false;
|
||||
this.autoDetectFeatures();
|
||||
}
|
||||
|
||||
@ -46,6 +48,10 @@ export class PostgresConfigCtrl {
|
||||
});
|
||||
}
|
||||
|
||||
toggleTimescaleDBHelp() {
|
||||
this.showTimescaleDBHelp = !this.showTimescaleDBHelp;
|
||||
}
|
||||
|
||||
// the value portion is derived from postgres server_version_num/100
|
||||
postgresVersions = [
|
||||
{ name: '9.3', value: 903 },
|
||||
|
Reference in New Issue
Block a user