Merge pull request #1453 from nasa/restore-search-navigation

[Search] Allow navigation from results
This commit is contained in:
Andrew Henry
2017-02-22 13:21:03 -08:00
committed by GitHub

View File

@ -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>