]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.ts
bump version to 18.2.2-pve1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / hosts / host-details / host-details.component.ts
CommitLineData
f67539c2 1import { Component, Input } from '@angular/core';
9f95a23c 2
f67539c2 3import { Permissions } from '~/app/shared/models/permissions';
11fdf7f2
TL
4
5@Component({
6 selector: 'cd-host-details',
7 templateUrl: './host-details.component.html',
8 styleUrls: ['./host-details.component.scss']
9})
9f95a23c
TL
10export class HostDetailsComponent {
11 @Input()
12 permissions: Permissions;
13
11fdf7f2 14 @Input()
e306af50 15 selection: any;
11fdf7f2 16
9f95a23c 17 get selectedHostname(): string {
e306af50 18 return this.selection !== undefined ? this.selection['hostname'] : null;
11fdf7f2
TL
19 }
20}