Merge pull request #2833 from Haokun-Chen/2829

fixed build anchor for application in activity stream
This commit is contained in:
Haokun Chen
2018-08-15 10:40:06 -04:00
committed by GitHub

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 + '/';
}