mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 23:28:14 +00:00
Merge pull request #1453 from nasa/restore-search-navigation
[Search] Allow navigation from results
This commit is contained in:
@ -18,14 +18,14 @@
|
|||||||
licenses. See the Open Source Licenses file (LICENSES.md) included with
|
licenses. See the Open Source Licenses file (LICENSES.md) included with
|
||||||
this source code distribution or the Licensing information page available
|
this source code distribution or the Licensing information page available
|
||||||
at runtime from the About dialog for additional information.
|
at runtime from the About dialog for additional information.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<div class="search-result-item l-flex-row flex-elem grows"
|
<div class="search-result-item l-flex-row flex-elem grows"
|
||||||
ng-class="{selected: ngModel.selectedObject.getId() === domainObject.getId()}">
|
ng-class="{selected: ngModel.selectedObject.getId() === domainObject.getId()}">
|
||||||
<mct-representation key="'label'"
|
<mct-representation key="'label'"
|
||||||
mct-object="domainObject"
|
mct-object="domainObject"
|
||||||
ng-model="ngModel"
|
ng-model="ngModel"
|
||||||
ng-click="ngModel.selectedObject = domainObject"
|
ng-click="ngModel.allowSelection(domainObject) && ngModel.onSelection(domainObject)"
|
||||||
class="l-flex-row flex-elem grows">
|
class="l-flex-row flex-elem grows">
|
||||||
</mct-representation>
|
</mct-representation>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user