mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02:30
fixed build anchor for application in activity stream
This commit is contained in:
@@ -85,6 +85,9 @@ export default function BuildAnchor($log, $filter) {
|
|||||||
const inventoryId = _.get(obj, 'inventory', '').split('-').reverse()[0];
|
const inventoryId = _.get(obj, 'inventory', '').split('-').reverse()[0];
|
||||||
url += `inventories/inventory/${inventoryId}/inventory_sources/edit/${obj.id}`;
|
url += `inventories/inventory/${inventoryId}/inventory_sources/edit/${obj.id}`;
|
||||||
break;
|
break;
|
||||||
|
case 'o_auth2_application':
|
||||||
|
url += `applications/${obj.id}`;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
url += resource + 's/' + obj.id + '/';
|
url += resource + 's/' + obj.id + '/';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user