mirror of
https://github.com/ceph/ceph
synced 2025-01-12 14:10:27 +00:00
Merge pull request #22003 from votdev/fix_deletion_dialog
mgr/dashboard: Deletion dialog falsely executes deletion when pressing 'Cancel' Reviewed-by: Ricardo Marques <rimarques@suse.com> Reviewed-by: Tiago Melo <tmelo@suse.com>
This commit is contained in:
commit
5820d714f3
@ -7,7 +7,6 @@
|
||||
<ng-container class="modal-content">
|
||||
<form name="deletionForm"
|
||||
#formDir="ngForm"
|
||||
(submit)="delete($event)"
|
||||
[formGroup]="deletionForm"
|
||||
novalidate>
|
||||
<div class="modal-body">
|
||||
|
@ -74,10 +74,6 @@ export class DeletionModalComponent implements OnInit {
|
||||
this.confirmation.updateValueAndValidity();
|
||||
}
|
||||
|
||||
delete ($event) {
|
||||
this.submitButton.submit($event);
|
||||
}
|
||||
|
||||
deletionCall() {
|
||||
if (this.deletionObserver) {
|
||||
this.deletionObserver().subscribe(
|
||||
|
Loading…
Reference in New Issue
Block a user