1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

minor fixes

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

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))

View File

@ -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>
{