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