diff options
| author | Gunnar Mills <gmills@us.ibm.com> | 2018-03-08 13:19:15 -0600 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-03-13 14:05:32 +0000 |
| commit | fbce2ea344801006ea08622adf48e694ad89cb0d (patch) | |
| tree | 0723624e923de8021272e13d354f187afc70ab41 /app/server-health/controllers | |
| parent | a5f48c7466ec81bda4576af0a9b5d0e30dd4608f (diff) | |
| download | phosphor-webui-fbce2ea344801006ea08622adf48e694ad89cb0d.tar.gz phosphor-webui-fbce2ea344801006ea08622adf48e694ad89cb0d.zip | |
Only display "present" subcomponents
Only display "present" subcomponents of an inventory item.
An example of this would be cores of the cpu. Only display
present cores.
Tested: See only present cores.
Change-Id: Ib53d72d24e35f17a047baa15b1eaad0e099576a5
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'app/server-health/controllers')
| -rw-r--r-- | app/server-health/controllers/inventory-overview-controller.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/server-health/controllers/inventory-overview-controller.html b/app/server-health/controllers/inventory-overview-controller.html index f67b867..67a694d 100644 --- a/app/server-health/controllers/inventory-overview-controller.html +++ b/app/server-health/controllers/inventory-overview-controller.html @@ -46,7 +46,7 @@ <div class="column large-3 no-padding" ng-show="inventory.sub_components.length"> <div class="inventory__metadata-scroll show-scroll"> <!-- If content overflows; add 'show-scroll' class via JS to force visible scrollbar in webkit browsers--> <div class="content-label">Subcomponents</div> - <div ng-repeat="sub_component in inventory.sub_components" class="inline inventory__metadata-block"> + <div ng-repeat="sub_component in inventory.sub_components" class="inline inventory__metadata-block" ng-if="sub_component.Present"> <p class="courier-bold">{{sub_component.title}}<span class="icon icon__warning" ng-if="sub_component.Present"></span></p> </div> </div> @@ -54,4 +54,4 @@ </div> </div> </section> -</div>
\ No newline at end of file +</div> |

