feat: add dialog about force remove data
This commit is contained in:
@ -0,0 +1,8 @@
|
|||||||
|
<h2 mat-dialog-title>Удаление расписания при изменении значения</h2>
|
||||||
|
<mat-dialog-content>
|
||||||
|
<p>Вы хотите удалить старое расписание?</p>
|
||||||
|
</mat-dialog-content>
|
||||||
|
<mat-dialog-actions>
|
||||||
|
<button mat-button [mat-dialog-close]="false">Нет</button>
|
||||||
|
<button mat-button [mat-dialog-close]="true" color="warn">Да, удалить</button>
|
||||||
|
</mat-dialog-actions>
|
@ -0,0 +1,23 @@
|
|||||||
|
import {Component} from '@angular/core';
|
||||||
|
import {
|
||||||
|
MatDialogActions,
|
||||||
|
MatDialogClose,
|
||||||
|
MatDialogContent,
|
||||||
|
MatDialogRef,
|
||||||
|
MatDialogTitle
|
||||||
|
} from "@angular/material/dialog";
|
||||||
|
import {MatButton} from "@angular/material/button";
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-confirm-delete-schedule-dialog',
|
||||||
|
imports: [
|
||||||
|
MatDialogTitle,
|
||||||
|
MatDialogContent,
|
||||||
|
MatDialogActions,
|
||||||
|
MatDialogClose,
|
||||||
|
MatButton
|
||||||
|
],
|
||||||
|
templateUrl: './confirm-delete-schedule-dialog.component.html'
|
||||||
|
})
|
||||||
|
export class ConfirmDeleteScheduleDialogComponent {
|
||||||
|
}
|
Reference in New Issue
Block a user