mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 06:28:01 -03:30
Removed unused name link code that was causing lots of extra inventory source API calls
This commit is contained in:
parent
c9037d2c50
commit
2d6ba917f8
@ -189,20 +189,6 @@ export default
|
||||
}
|
||||
return true;
|
||||
});
|
||||
//Set the name link
|
||||
if (item.type === "inventory_update") {
|
||||
Rest.setUrl(item.related.inventory_source);
|
||||
Rest.get()
|
||||
.success(function(data) {
|
||||
itm.nameHref = "/home/groups?id=" + data.group;
|
||||
});
|
||||
}
|
||||
else if (item.type === "project_update") {
|
||||
itm.nameHref = "/projects/" + item.project;
|
||||
}
|
||||
else if (item.type === "job") {
|
||||
itm.nameHref = "";
|
||||
}
|
||||
|
||||
if (list.name === 'completed_jobs' || list.name === 'running_jobs') {
|
||||
itm.status_tip = itm.status_label + '. Click for details.';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user