mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
16 lines
464 B
TypeScript
16 lines
464 B
TypeScript
import { FolderPageLoader } from './folder_page_loader';
|
|
|
|
export class FolderPermissionsCtrl {
|
|
navModel: any;
|
|
folderId: number;
|
|
|
|
/** @ngInject */
|
|
constructor(private backendSrv, navModelSrv, private $routeParams) {
|
|
if (this.$routeParams.folderId && this.$routeParams.slug) {
|
|
this.folderId = $routeParams.folderId;
|
|
|
|
new FolderPageLoader(this.backendSrv, this.$routeParams).load(this, this.folderId, 'manage-folder-permissions');
|
|
}
|
|
}
|
|
}
|