Browse Source

fix(app config): fixed issue with app config tab, fixes #4575

Torkel Ödegaard 9 năm trước cách đây
mục cha
commit
dc7f8014a2
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 1 0
      CHANGELOG.md
  2. 1 1
      public/app/core/directives/plugin_component.ts

+ 1 - 0
CHANGELOG.md

@@ -3,6 +3,7 @@
 ### Bug fixes
 * **Postgres**: Fixed page render crash when using postgres, fixes [#4558](https://github.com/grafana/grafana/issues/4558)
 * **Table panel**: Fixed table panel bug when trying to show annotations in table panel, fixes [#4563](https://github.com/grafana/grafana/issues/4563)
+* **App Config**: Fixed app config issue showing content of other app config, fixes [#4575](https://github.com/grafana/grafana/issues/4575)
 
 # 3.0.0-beta2 (2016-04-04)
 

+ 1 - 1
public/app/core/directives/plugin_component.ts

@@ -169,7 +169,7 @@ function pluginDirectiveLoader($compile, datasourceSrv, $rootScope, $q, $http, $
         return System.import(model.module).then(function(appModule) {
           return {
             baseUrl: model.baseUrl,
-            name: 'app-config-' + model.pluginId,
+            name: 'app-config-' + model.id,
             bindings: {appModel: "=", appEditCtrl: "="},
             attrs: {"app-model": "ctrl.model", "app-edit-ctrl": "ctrl"},
             Component: appModule.ConfigCtrl,