1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00

Remove extraneous model import

This commit is contained in:
gconsidine 2018-02-15 13:31:56 -05:00 committed by Jake McDermott
parent 3d02ef8209
commit d6e7058947
2 changed files with 4 additions and 3 deletions

View File

@ -129,10 +129,10 @@ function getRelated () {
const name = resource.constructor.name;
switch (name) {
case 'ProjectUpdateModel':
return 'events';
case 'JobModel':
return 'job_events';
default:
return 'events';
}
}

View File

@ -60,6 +60,7 @@ angular
.service('UnifiedJobTemplateModel', UnifiedJobTemplate)
.service('WorkflowJobModel', WorkflowJob)
.service('WorkflowJobTemplateModel', WorkflowJobTemplate)
.service('WorkflowJobTemplateNodeModel', WorkflowJobTemplateNode);
.service('WorkflowJobTemplateNodeModel', WorkflowJobTemplateNode)
.service('ModelsStrings', ModelsStrings);
export default MODULE_NAME;