fix: remove sonar card disable class

Signed-off-by: rui ma <ruima@alauda.io>
This commit is contained in:
rui ma
2023-07-28 17:05:48 +08:00
parent 32f539dce2
commit b2ccddefbd
2 changed files with 5 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-sonarqube': patch
---
Remove sonarQube card disable class
@@ -68,9 +68,6 @@ const useStyles = makeStyles(theme => ({
lastAnalyzed: {
color: theme.palette.text.secondary,
},
disabled: {
backgroundColor: theme.palette.background.default,
},
}));
/** @public */
@@ -163,9 +160,6 @@ export const SonarQubeCard = (props: {
action: classes.action,
},
}}
className={
!loading && (!projectTitle || !value) ? classes.disabled : undefined
}
>
{loading && <Progress />}