diff --git a/dashboard/src/deployment/DeploymentList.js b/dashboard/src/deployment/DeploymentList.js index f1f53d080..be54dd208 100644 --- a/dashboard/src/deployment/DeploymentList.js +++ b/dashboard/src/deployment/DeploymentList.js @@ -14,12 +14,12 @@ const HeaderView = () => ( ); -const RowView = ({info}) => ( +const RowView = ({name, mode, ready_pod_count, pod_count}) => ( - {info.name} - {info.mode} - {info.ready_pod_count} / {info.pod_count} + {name} + {mode} + {ready_pod_count} / {pod_count} ); @@ -28,7 +28,14 @@ const ListView = ({items}) => ( { - (items) ? items.map((item) => ) :

No items

+ (items) ? items.map((item) => + ) :

No items

}