When view params change, get a new copy of the domainObject (#2813)

Update browseObject on object change
This commit is contained in:
Deep Tailor 2020-03-30 17:27:10 -07:00 committed by GitHub
parent 87d838c690
commit 3ca9e9ae56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,7 @@ define([
unobserve = this.openmct.objects.observe(openmct.router.path[0], '*', (newObject) => {
openmct.router.path[0] = newObject;
browseObject = newObject;
});
openmct.layout.$refs.browseBar.domainObject = navigatedObject;