2020-04-06 17:16:05 +02:00
|
|
|
import { Component, Inject } from '@angular/core';
|
2021-09-24 20:52:14 +02:00
|
|
|
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
2020-04-06 17:16:05 +02:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-multiple-choice-dialog',
|
|
|
|
templateUrl: './multiple-choice-dialog.component.html',
|
|
|
|
styleUrls: ['./multiple-choice-dialog.component.scss']
|
|
|
|
})
|
|
|
|
export class MultipleChoiceDialogComponent {
|
|
|
|
agreePrivacyPolicyNames = false;
|
|
|
|
|
|
|
|
constructor(
|
|
|
|
public dialogRef: MatDialogRef<MultipleChoiceDialogComponent>,
|
|
|
|
@Inject(MAT_DIALOG_DATA) public data: any
|
|
|
|
) {
|
|
|
|
}
|
|
|
|
|
|
|
|
close() {
|
|
|
|
this.dialogRef.close(false);
|
|
|
|
}
|
|
|
|
|
|
|
|
apply(i: number) {
|
|
|
|
this.dialogRef.close(i);
|
|
|
|
}
|
|
|
|
}
|