mirror of https://github.com/grafana/grafana.git
				
				
				
			fix: component name of plugin page contains 'undefined' (#8590)
This commit is contained in:
		
							parent
							
								
									6992b484bc
								
							
						
					
					
						commit
						d10d897d65
					
				|  | @ -181,7 +181,7 @@ function pluginDirectiveLoader($compile, datasourceSrv, $rootScope, $q, $http, $ | ||||||
|         return System.import(appModel.module).then(function(appModule) { |         return System.import(appModel.module).then(function(appModule) { | ||||||
|           return { |           return { | ||||||
|             baseUrl: appModel.baseUrl, |             baseUrl: appModel.baseUrl, | ||||||
|             name: 'app-page-' + appModel.appId + '-' + scope.ctrl.page.slug, |             name: 'app-page-' + appModel.id + '-' + scope.ctrl.page.slug, | ||||||
|             bindings: {appModel: "="}, |             bindings: {appModel: "="}, | ||||||
|             attrs: {"app-model": "ctrl.appModel"}, |             attrs: {"app-model": "ctrl.appModel"}, | ||||||
|             Component: appModule[scope.ctrl.page.component], |             Component: appModule[scope.ctrl.page.component], | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue