blob: 056cb1764583c7f3729863cf55796285cc210c42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import { Component } from '@angular/core';
import { Router } from '@angular/router';
import { Permission } from '~/app/shared/models/permissions';
import { AuthStorageService } from '~/app/shared/services/auth-storage.service';
@Component({
selector: 'cd-rbd-tabs',
templateUrl: './rbd-tabs.component.html',
styleUrls: ['./rbd-tabs.component.scss']
})
export class RbdTabsComponent {
grafanaPermission: Permission;
url: string;
constructor(private authStorageService: AuthStorageService, public router: Router) {
this.grafanaPermission = this.authStorageService.getPermissions().grafana;
}
}
|