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

This commit is contained in:
Torkel Ödegaard 2016-04-06 08:43:06 -04:00
parent 43896dc416
commit dc7f8014a2
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
### Bug fixes ### Bug fixes
* **Postgres**: Fixed page render crash when using postgres, fixes [#4558](https://github.com/grafana/grafana/issues/4558) * **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) * **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) # 3.0.0-beta2 (2016-04-04)

View File

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