fix delete blueprint editor button
This commit is contained in:
parent
7605f48637
commit
26dfe834ea
|
@ -259,7 +259,7 @@ export class PlanBlueprintEditorComponent extends BaseEditor<PlanBlueprintEditor
|
||||||
}
|
}
|
||||||
|
|
||||||
public delete() {
|
public delete() {
|
||||||
const value = this.formGroup.value;
|
const value = this.formGroup.getRawValue();
|
||||||
if (value.id) {
|
if (value.id) {
|
||||||
const dialogRef = this.dialog.open(ConfirmationDialogComponent, {
|
const dialogRef = this.dialog.open(ConfirmationDialogComponent, {
|
||||||
maxWidth: '300px',
|
maxWidth: '300px',
|
||||||
|
|
Loading…
Reference in New Issue