fix compilation error in KubernetesDrawer

Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
This commit is contained in:
Morgan Martinet
2021-08-13 18:16:21 -04:00
committed by Morgan Martinet
parent c80f53a4b5
commit 10f8c37595
@@ -32,6 +32,7 @@ import { V1ObjectMeta } from '@kubernetes/client-node';
import { withStyles } from '@material-ui/core/styles';
import jsYaml from 'js-yaml';
import {
Button as BackstageButton,
CodeSnippet,
StructuredMetadataTable,
Link,
@@ -147,7 +148,7 @@ const KubernetesDrawerContent = <T extends KubernetesDrawerable>({
<div className={classes.options}>
<div>
{clusterLink && (
<Button
<BackstageButton
variant="contained"
color="primary"
size="small"
@@ -155,7 +156,7 @@ const KubernetesDrawerContent = <T extends KubernetesDrawerable>({
to={clusterLink}
>
Open Kubernetes Dashboard...
</Button>
</BackstageButton>
)}
</div>
<FormControlLabel