diff options
author | Revanshu Paliwal <revanshu.paliwal@sonarsource.com> | 2024-06-14 17:06:14 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-06-18 20:02:41 +0000 |
commit | 50ba3a3998f109b8540cd9485cbc19b160e85d59 (patch) | |
tree | 0137930b4746fb6848d9f5bade04f40e95603b18 /server/sonar-web/src/main/js/apps/overview/branches/QualityGatePanel.tsx | |
parent | 5ff3751aa69b21ac0269eb9bc1b54625d42ecc08 (diff) | |
download | sonarqube-50ba3a3998f109b8540cd9485cbc19b160e85d59.tar.gz sonarqube-50ba3a3998f109b8540cd9485cbc19b160e85d59.zip |
SONAR-22390 Refactor PR summary to similar to overview
Diffstat (limited to 'server/sonar-web/src/main/js/apps/overview/branches/QualityGatePanel.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/overview/branches/QualityGatePanel.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/apps/overview/branches/QualityGatePanel.tsx b/server/sonar-web/src/main/js/apps/overview/branches/QualityGatePanel.tsx index 985cfa72f48..fb1dd98d321 100644 --- a/server/sonar-web/src/main/js/apps/overview/branches/QualityGatePanel.tsx +++ b/server/sonar-web/src/main/js/apps/overview/branches/QualityGatePanel.tsx @@ -38,8 +38,8 @@ export interface QualityGatePanelProps { loading?: boolean; qgStatuses?: QualityGateStatus[]; qualityGate?: QualityGate; - showCaycWarningInApp: boolean; - showCaycWarningInProject: boolean; + showCaycWarningInApp?: boolean; + showCaycWarningInProject?: boolean; totalFailedConditionLength: number; } @@ -51,8 +51,8 @@ export function QualityGatePanel(props: QualityGatePanelProps) { qualityGate, isNewCode = false, totalFailedConditionLength, - showCaycWarningInProject, - showCaycWarningInApp, + showCaycWarningInProject = false, + showCaycWarningInApp = false, } = props; if (qgStatuses === undefined) { |