Commit 8ea3243c by Chamath

WorkFlowTemplate save service updated.

parent a93070e4
...@@ -688,7 +688,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn ...@@ -688,7 +688,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
saveWorkflowTemplate(saveCopy = false): void { saveWorkflowTemplate(saveCopy = false): void {
this.utilsService.clearErrorMessages(); this.utilsService.clearErrorMessages();
const service = `svc/${saveCopy ? SERVICES.SAVE_WORKFLOW_AS_COPY : SERVICES.SAVE}`; const service = `svc/${saveCopy ? SERVICES.SAVE_WORKFLOW_AS_COPY : SERVICES.SAVE_WORKFLOW}`;
if (this.form.invalid) { if (this.form.invalid) {
this.utilsService.showAllErrorMessages(); this.utilsService.showAllErrorMessages();
......
...@@ -21,6 +21,7 @@ export const SERVICES = { ...@@ -21,6 +21,7 @@ export const SERVICES = {
WORKFLOW_TEMPLATES: 'WorkFlowTemplates', WORKFLOW_TEMPLATES: 'WorkFlowTemplates',
SAVE_MESSAGE_AS_COPY: 'SaveMessageAsCopy', SAVE_MESSAGE_AS_COPY: 'SaveMessageAsCopy',
SAVE_WORKFLOW_AS_COPY: 'SaveWorkflowAsCopy', SAVE_WORKFLOW_AS_COPY: 'SaveWorkflowAsCopy',
SAVE_WORKFLOW: 'SaveWorkFlowTemplate',
SAVE: 'Save' SAVE: 'Save'
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment