[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:
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<div class='object-holder abs vscroll'>
|
<div class='object-holder abs vscroll'>
|
||||||
<mct-representation key="representation.selected.key"
|
<mct-representation key="representation.selected.key"
|
||||||
mct-object="domainObject">
|
mct-object="representation.selected.key && domainObject">
|
||||||
</mct-representation>
|
</mct-representation>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
Reference in New Issue
Block a user