Magic-Search isn't rendered unless config is ready

This patch alleviates a problem where sometimes the magic-search element
needs to be rendered, but the configuration isn't ready yet.  This simply
skips the rendering unless the primary configuration parameters are in place.

This is evident when Launch Instance is launched via an item action, such as
within the Image items.

Change-Id: I10452428e2d17cd17c98c65cbf8147dc7ab14621
Closes-Bug: 1600352
This commit is contained in:
Matt Borland 2016-07-08 13:42:20 -06:00
parent ccbad83a17
commit 7b95e2a065
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<span class="fa fa-search"></span>
</span>
<magic-search
ng-if="filterStrings && filterFacets"
class="form-control"
strings="filterStrings"
facets="{{ filterFacets }}">