mirror of
https://github.com/nasa/openmct.git
synced 2025-01-19 11:17:04 +00:00
[Browse] Simplify view switcher event ordering
Don't pass a domainObject instance into mct-representation until a view for that specific domainObject is available; this avoids ordering issues where a new domainObject is passed briefly to controllers in represented views before a event is issued, which can result in undesired behavior for views that need to manage resources (such as the subscriptions used to support telemetry retrieved from the WARP Server, WTD-644.
This commit is contained in:
parent
d916111060
commit
7ed62babe3
@ -23,7 +23,7 @@
|
||||
|
||||
<div class='object-holder abs vscroll'>
|
||||
<mct-representation key="representation.selected.key"
|
||||
mct-object="domainObject">
|
||||
mct-object="representation.selected.key && domainObject">
|
||||
</mct-representation>
|
||||
</div>
|
||||
</span>
|
Loading…
Reference in New Issue
Block a user