minor fixes

Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
This commit is contained in:
Jim Ehrismann committed 2020-07-07 15:12:09 -04:00
1 parent 046c648c8d
commit a97427bc03
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@ export class Router {
this.router.add({ method: "post", path: `${apiBase}/metrics` }, metricsRoute.routeMetrics.bind(metricsRoute))
// Port-forward API
this.router.add({ method: 'post', path: `${apiBase}/pods/{namespace}/{resourceType}/{resourceName}/port-forward/{port}` }, portForwardRoute.routePortForward.bind(portForwardRoute))
this.router.add({ method: "post", path: `${apiBase}/pods/{namespace}/{resourceType}/{resourceName}/port-forward/{port}` }, portForwardRoute.routePortForward.bind(portForwardRoute))
// Helm API
this.router.add({ method: "get", path: `${apiHelm}/v2/charts` }, helmApi.listCharts.bind(helmApi))
@@ -62,7 +62,7 @@ export class PodDetailsContainer extends React.Component<Props> {
{imagePullPolicy}
</DrawerItem>
}
{ports && ports.length > 0 &&
{ports && ports.length > 0 &&
<DrawerItem name={<Trans>Ports</Trans>}>
<div>
{