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:
parent
3d02ef8209
commit
d6e7058947
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user