remove root from navigation (#2309)

This commit is contained in:
Deep Tailor 2019-03-18 09:50:23 -07:00 committed by Andrew Henry
parent 7c2e10ba0e
commit f7d0d2c166

View File

@ -74,8 +74,9 @@ define(
function navigateAndEdit(object) {
let objectPath = object.getCapability('context').getPath(),
url = '#/browse/' + objectPath
.slice(1)
.map(function (o) {
return o && openmct.objects.makeKeyString(o.getId())
return o && openmct.objects.makeKeyString(o.getId());
})
.join('/');