mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 06:27:48 +00:00
7ed62babe3
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.
29 lines
985 B
HTML
29 lines
985 B
HTML
<span>
|
|
<div class="object-browse-bar bar abs">
|
|
|
|
<div class="items-select left abs">
|
|
<mct-representation key="'object-header'" mct-object="domainObject">
|
|
</mct-representation>
|
|
</div>
|
|
|
|
<div class="view-controls sort-controls btn-bar right abs">
|
|
|
|
<mct-representation key="'action-group'"
|
|
mct-object="domainObject"
|
|
parameters="{ category: 'view-control' }">
|
|
</mct-representation>
|
|
|
|
<mct-representation key="'switcher'"
|
|
mct-object="domainObject"
|
|
ng-model="representation">
|
|
</mct-representation>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class='object-holder abs vscroll'>
|
|
<mct-representation key="representation.selected.key"
|
|
mct-object="representation.selected.key && domainObject">
|
|
</mct-representation>
|
|
</div>
|
|
</span> |