blob: 090205aa4d4733e6bf74ce89987d900a39f4f5d3 [file] [log] [blame]
import { Component, OnInit, OnDestroy } from '@angular/core';
import { CommunicationTypesSandbox } from '@pages/admin/communication-types/communication-types.sandbox';
@Component({
selector: 'app-communication-types-details',
templateUrl: './communication-types-details.component.html',
styleUrls: ['./communication-types-details.component.scss'],
})
export class CommunicationTypesDetailsComponent implements OnInit, OnDestroy {
constructor(public communicationTypesSandbox: CommunicationTypesSandbox) {}
ngOnInit() {
this.communicationTypesSandbox.registerEvents();
}
ngOnDestroy() {
this.communicationTypesSandbox.clear();
this.communicationTypesSandbox.endSubscriptions();
}
}