diff options
Diffstat (limited to 'public/src/app/error-dialog/error-dialog.component.html')
-rw-r--r-- | public/src/app/error-dialog/error-dialog.component.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/public/src/app/error-dialog/error-dialog.component.html b/public/src/app/error-dialog/error-dialog.component.html new file mode 100644 index 0000000..7b72d06 --- /dev/null +++ b/public/src/app/error-dialog/error-dialog.component.html @@ -0,0 +1,17 @@ +<p-dialog [(visible)]="store.displayErrorDialog" modal="modal" width="500" [responsive]="true" data-tests-id="error-dialog"> + <p-header> + <span style="font-size: 1.3em;"> + Error + </span> + </p-header> + + <div *ngFor="let error of store.ErrorContent"> + {{ error.formattedErrorMessage }} + </div> + + <p-footer> + <button mat-raised-button color="primary" (click)="closeDialog()" data-tests-id="error-cancel"> + Cancel + </button> + </p-footer> +</p-dialog> |