diff options
author | guillaume-peoch-sonarsource <guillaume.peoch@sonarsource.com> | 2023-04-26 14:57:49 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-05-11 20:03:14 +0000 |
commit | 7183be6e9c6549c46258721999d0864bf00dfa58 (patch) | |
tree | c1cc2afe1a542c5001a33f9fee47431e8139256c /server/sonar-web/src/main/js/components | |
parent | f47bed3cff9c970cb30a5c2d43b1e05d890cb04b (diff) | |
download | sonarqube-7183be6e9c6549c46258721999d0864bf00dfa58.tar.gz sonarqube-7183be6e9c6549c46258721999d0864bf00dfa58.zip |
SONAR-19084 Display Github Synchronisation status
Diffstat (limited to 'server/sonar-web/src/main/js/components')
-rw-r--r-- | server/sonar-web/src/main/js/components/hooks/useManageProvider.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/hooks/useManageProvider.ts b/server/sonar-web/src/main/js/components/hooks/useManageProvider.ts index f27b576924c..db7c0a4c7b8 100644 --- a/server/sonar-web/src/main/js/components/hooks/useManageProvider.ts +++ b/server/sonar-web/src/main/js/components/hooks/useManageProvider.ts @@ -23,6 +23,11 @@ import { useEffect } from 'react'; import { getSystemInfo } from '../../api/system'; import { SysInfoCluster } from '../../types/types'; +export enum Provider { + Github = 'GitHub', + Scim = 'SCIM', +} + export function useManageProvider(): string | undefined { const [manageProvider, setManageProvider] = React.useState<string | undefined>(); |