Skip to content

Commit 8b38d39

Browse files
digitalfishpondbryk
authored andcommitted
In Nodes Details page, only show Pods card when not empty (#1094)
* In Nodes Details page, only show Pods card when not empty
1 parent 532f5dd commit 8b38d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/frontend/nodedetail/nodeinfo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
<kd-node-conditions conditions="::$ctrl.node.conditions"></kd-node-conditions>
107107
</kd-content>
108108
</kd-content-card>
109-
<kd-content-card>
109+
<kd-content-card ng-show="::$ctrl.node.podList.pods.length">
110110
<kd-title>{{::$ctrl.i18n.MSG_NODE_DETAIL_PODS_LABEL}}</kd-title>
111111
<kd-content>
112112
<kd-pod-card-list pod-list="$ctrl.node.podList" with-statuses="true">

0 commit comments

Comments
 (0)