Merge pull request #5416 from mabashian/add-button-wfjt-node-form

Remove actions from the template list in workflow maker
This commit is contained in:
Michael Abashian 2017-02-17 09:54:54 -05:00 committed by GitHub
commit d875b5f76d

View File

@ -452,6 +452,7 @@ angular.module('templates', [surveyMaker.name, templatesList.name, jobTemplatesA
WorkflowMakerJobTemplateList: ['TemplateList',
(TemplateList) => {
let list = _.cloneDeep(TemplateList);
delete list.actions;
delete list.fields.type;
delete list.fields.description;
delete list.fields.smart_status;