aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components
diff options
context:
space:
mode:
authorguillaume-peoch-sonarsource <guillaume.peoch@sonarsource.com>2023-04-26 14:57:49 +0200
committersonartech <sonartech@sonarsource.com>2023-05-11 20:03:14 +0000
commit7183be6e9c6549c46258721999d0864bf00dfa58 (patch)
treec1cc2afe1a542c5001a33f9fee47431e8139256c /server/sonar-web/src/main/js/components
parentf47bed3cff9c970cb30a5c2d43b1e05d890cb04b (diff)
downloadsonarqube-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.ts5
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>();