Skip to content

Commit d419a1b

Browse files
authored
Merge pull request #115 from onepanelio/fix/onepanelio.core.319-save.confirmation.dialog
fix: confirmation dialog when trying to edit or save a workflow template
2 parents 20af2c4 + c9d2b4d commit d419a1b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/app/workflow-template/workflow-template-create/workflow-template-create.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ export class WorkflowTemplateCreateComponent implements OnInit, OnDestroy, CanCo
135135
return;
136136
}
137137

138+
this.manifestChanged = false;
139+
138140
this.state = 'creating';
139141
const manifestText = this.manifestDagEditor.manifestTextCurrent;
140142
this.workflowTemplateServiceService

src/app/workflow-template/workflow-template-edit/workflow-template-edit.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ export class WorkflowTemplateEditComponent implements OnInit, CanComponentDeacti
146146
}
147147

148148
update() {
149+
this.manifestChanged = false;
150+
149151
if(!this.labelEditor.isValid) {
150152
this.labelEditor.markAllAsDirty();
151153
return;

0 commit comments

Comments
 (0)