mirror of https://github.com/grafana/grafana
parent
9fc0a83b83
commit
0fab210ad2
@ -1,23 +0,0 @@ |
||||
///<reference path="../../headers/common.d.ts" />
|
||||
|
||||
import angular from 'angular'; |
||||
|
||||
/** @ngInject */ |
||||
function appConfigView(dynamicDirectiveSrv) { |
||||
return dynamicDirectiveSrv.create({ |
||||
scope: { |
||||
appModel: "=" |
||||
}, |
||||
directive: scope => { |
||||
return System.import(scope.appModel.module).then(function(appModule) { |
||||
return { |
||||
name: 'app-config-' + scope.appModel.appId, |
||||
fn: appModule.configView, |
||||
}; |
||||
}); |
||||
}, |
||||
}); |
||||
} |
||||
|
||||
|
||||
angular.module('grafana.directives').directive('appConfigView', appConfigView); |
||||
Loading…
Reference in new issue