|
|
|
@ -41,7 +41,8 @@ export class NotesComponent implements AfterViewInit {
|
|
|
|
|
encapsulation: ViewEncapsulation.None,
|
|
|
|
|
})
|
|
|
|
|
export class EditNotesComponentDialog {
|
|
|
|
|
note: string;
|
|
|
|
|
note?: string;
|
|
|
|
|
|
|
|
|
|
constructor(
|
|
|
|
|
public dialogRef: MatDialogRef<EditNotesComponentDialog>,
|
|
|
|
|
@Inject(MAT_DIALOG_DATA) public data: DialogData,
|
|
|
|
@ -54,6 +55,10 @@ export class EditNotesComponentDialog {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cancel() {
|
|
|
|
|
this.dialogRef.close();
|
|
|
|
|
this.dialogRef.close(undefined);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
save() {
|
|
|
|
|
this.dialogRef.close(this.note);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|