diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2022-02-02 18:08:55 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-02-07 20:02:54 +0000 |
commit | 8fe3ae1db9657910a04dc75b8886cc0bf591ad55 (patch) | |
tree | 22f311c8f233fddf89b65c954cc840f8adc095fc /server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmIntegrationRenderer.tsx | |
parent | d1c8c1003516214e0ecd27f751da1e45f455de6e (diff) | |
download | sonarqube-8fe3ae1db9657910a04dc75b8886cc0bf591ad55.tar.gz sonarqube-8fe3ae1db9657910a04dc75b8886cc0bf591ad55.zip |
SONAR-15912 Extract settings local state from redux
Diffstat (limited to 'server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmIntegrationRenderer.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmIntegrationRenderer.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmIntegrationRenderer.tsx b/server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmIntegrationRenderer.tsx index 769a2b2d79e..414d9608583 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmIntegrationRenderer.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmIntegrationRenderer.tsx @@ -26,6 +26,7 @@ import { AlmSettingsBindingDefinitions, AlmSettingsBindingStatus } from '../../../../types/alm-settings'; +import { ExtendedSettingDefinition } from '../../../../types/settings'; import { Dict } from '../../../../types/types'; import { AlmTabs } from './AlmIntegration'; import AlmTab from './AlmTab'; @@ -47,6 +48,7 @@ export interface AlmIntegrationRendererProps { onSelectAlmTab: (alm: AlmTabs) => void; onUpdateDefinitions: () => void; projectCount?: number; + settingsDefinitions: ExtendedSettingDefinition[]; } const tabs = [ @@ -118,7 +120,8 @@ export default function AlmIntegrationRenderer(props: AlmIntegrationRendererProp loadingProjectCount, branchesEnabled, multipleAlmEnabled, - projectCount + projectCount, + settingsDefinitions } = props; const bindingDefinitions = { @@ -151,6 +154,7 @@ export default function AlmIntegrationRenderer(props: AlmIntegrationRendererProp onCheck={props.onCheckConfiguration} onDelete={props.onDelete} onUpdateDefinitions={props.onUpdateDefinitions} + settingsDefinitions={settingsDefinitions} /> {definitionKeyForDeletion && ( |