Lint dashboard app automatically (#529)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-06-26 12:05:41 +03:00
1 parent e468105143
commit c91f608346
10 files changed
+86 -82

No files matched your search

@@ -125,14 +125,14 @@ const SecretKey = (props: SecretKeyProps) => {
}
return (
<>
<>
secretKeyRef({name}.{key})&nbsp;
<Icon
className={cssNames("secret-button", { loading })}
material="visibility"
tooltip={<Trans>Show</Trans>}
onClick={showKey}
/>
</>
<Icon
className={cssNames("secret-button", { loading })}
material="visibility"
tooltip={<Trans>Show</Trans>}
onClick={showKey}
/>
</>
)
}
@@ -174,28 +174,28 @@ export class PodDetails extends React.Component<Props> {
</DrawerItem>
{ type == "configMap" && (
<div>
{configMap && (
<DrawerItem name={<Trans>Name</Trans>}>
<Link
to={getDetailsUrl(configMapApi.getUrl({
name: configMap,
namespace: pod.getNs(),
}))}>{configMap}
</Link>
</DrawerItem>
)}
{configMap && (
<DrawerItem name={<Trans>Name</Trans>}>
<Link
to={getDetailsUrl(configMapApi.getUrl({
name: configMap,
namespace: pod.getNs(),
}))}>{configMap}
</Link>
</DrawerItem>
)}
</div>
)}
{ type === "emptyDir" && (
<div>
{ volume.emptyDir.medium && (
<DrawerItem name={<Trans>Medium</Trans>}>
{volume.emptyDir.medium}
</DrawerItem>
<DrawerItem name={<Trans>Medium</Trans>}>
{volume.emptyDir.medium}
</DrawerItem>
)}
{ volume.emptyDir.sizeLimit && (
<DrawerItem name={<Trans>Size Limit</Trans>}>
{volume.emptyDir.sizeLimit}
{volume.emptyDir.sizeLimit}
</DrawerItem>
)}
</div>