[Search] Declare UI components as templates
Declare Search UI components as templates instead of representations so that they are not removed from the DOM when no domain object is supplied. Fixes nasa/openmctweb#234
This commit is contained in:
@@ -34,10 +34,9 @@
|
||||
</mct-representation>
|
||||
<div class='holder search-holder abs'
|
||||
ng-class="{active: treeModel.search}">
|
||||
<mct-representation key="'search'"
|
||||
mct-object="domainObject"
|
||||
<mct-include key="'search'"
|
||||
ng-model="treeModel">
|
||||
</mct-representation>
|
||||
</mct-include>
|
||||
</div>
|
||||
<div class='tree-holder abs mobile-tree-holder'
|
||||
ng-hide="treeModel.search">
|
||||
|
||||
Reference in New Issue
Block a user