diff --git a/src/datasource/config_ctrl.ts b/src/datasource/config_ctrl.ts index 265ec13..cb02297 100644 --- a/src/datasource/config_ctrl.ts +++ b/src/datasource/config_ctrl.ts @@ -9,11 +9,12 @@ export class HasticConfigCtrl { { key: 'direct', value: 'Browser' } ]; - private showAccessHelp: boolean = false; + public showAccessHelp = false; constructor(private $scope: any) { if(this.$scope.current === undefined) { this.$scope.current = { + url: '', access: 'proxy' }; } diff --git a/src/datasource/partials/config.html b/src/datasource/partials/config.html index 1a98b3a..07bc560 100644 --- a/src/datasource/partials/config.html +++ b/src/datasource/partials/config.html @@ -7,7 +7,7 @@

Specify a complete Hastic Server HTTP URL (for example http://your_hastic_server:8000)

- + Your access method is Browser, this means the URL needs to be accessible from the browser. - + Your access method is Server, this means the URL needs to be accessible from the grafana backend/server. @@ -33,7 +33,7 @@