fixed build anchor for application in activity stream

This commit is contained in:
Haokun-Chen 2018-08-14 12:09:31 -04:00
parent 93a8a952f1
commit ab82cc3ba3
No known key found for this signature in database
GPG Key ID: B2AA94BEF6591515

View File

@ -85,6 +85,9 @@ export default function BuildAnchor($log, $filter) {
const inventoryId = _.get(obj, 'inventory', '').split('-').reverse()[0];
url += `inventories/inventory/${inventoryId}/inventory_sources/edit/${obj.id}`;
break;
case 'o_auth2_application':
url += `applications/${obj.id}`;
break;
default:
url += resource + 's/' + obj.id + '/';
}