]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/prometheus-tabs/prometheus-tabs.component.ts
update download target update for octopus release
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / prometheus / prometheus-tabs / prometheus-tabs.component.ts
CommitLineData
494da23a
TL
1import { Component } from '@angular/core';
2import { Router } from '@angular/router';
3
4@Component({
5 selector: 'cd-prometheus-tabs',
6 templateUrl: './prometheus-tabs.component.html',
7 styleUrls: ['./prometheus-tabs.component.scss']
8})
9export class PrometheusTabsComponent {
10 url: string;
11
12 constructor(private router: Router) {
13 this.url = this.router.url;
14 }
15
16 navigateTo(url) {
17 this.router.navigate([url]);
18 }
19}