]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/services/telemetry-notification.service.ts
update ceph source to reef 18.2.0
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / services / telemetry-notification.service.ts
1 import { EventEmitter, Injectable, Output } from '@angular/core';
2
3 @Injectable({
4 providedIn: 'root'
5 })
6 export class TelemetryNotificationService {
7 visible = false;
8
9 @Output()
10 update: EventEmitter<boolean> = new EventEmitter<boolean>();
11
12 setVisibility(visible: boolean) {
13 this.visible = visible;
14 this.update.emit(visible);
15 }
16 }