feat(dashboard): add link confirmation dialog before navigation

This commit is contained in:
Jan K9f 2025-01-21 12:15:09 +01:00
commit 4c77b4f139
Signed by: jank
GPG key ID: 50620ADD22CD330B
7 changed files with 77 additions and 2 deletions

View file

@ -0,0 +1,6 @@
<h2 mat-dialog-title>Are you sure?</h2>
<mat-dialog-content>Are you sure you would like to visit {{link}} now?</mat-dialog-content>
<mat-dialog-actions>
<button mat-flat-button color="warn" (click)="close()">No</button>
<button mat-flat-button (click)="accept()">Yes</button>
</mat-dialog-actions>