33 lines
854 B
TypeScript
33 lines
854 B
TypeScript
import { Component, OnInit, Inject, OnDestroy } from '@angular/core';
|
|
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
import { NoticeList } from '@ucap-webmessenger/api-message';
|
|
|
|
export interface NoticeDetailDialogData {
|
|
notice: NoticeList;
|
|
}
|
|
|
|
export interface NoticeDetailDialogResult {}
|
|
|
|
@Component({
|
|
selector: 'app-notice-detail.dialog',
|
|
templateUrl: './notice-detail.dialog.component.html',
|
|
styleUrls: ['./notice-detail.dialog.component.scss']
|
|
})
|
|
export class NoticeDetailDialogComponent implements OnInit, OnDestroy {
|
|
constructor(
|
|
public dialogRef: MatDialogRef<
|
|
NoticeDetailDialogData,
|
|
NoticeDetailDialogResult
|
|
>,
|
|
@Inject(MAT_DIALOG_DATA) public data: NoticeDetailDialogData
|
|
) {}
|
|
|
|
ngOnInit() {}
|
|
|
|
ngOnDestroy(): void {}
|
|
|
|
onClickConfirm(): void {
|
|
this.dialogRef.close();
|
|
}
|
|
}
|