浏览代码

postgres: add missing ngInject decorator

Daniel Lee 8 年之前
父节点
当前提交
7713009caa
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      public/app/plugins/datasource/postgres/module.ts

+ 2 - 0
public/app/plugins/datasource/postgres/module.ts

@@ -7,6 +7,8 @@ class PostgresConfigCtrl {
   static templateUrl = 'partials/config.html';
 
   current: any;
+
+   /** @ngInject **/
   constructor($scope) {
     this.current.jsonData.sslmode = this.current.jsonData.sslmode || 'require';
   }