From 7183be6e9c6549c46258721999d0864bf00dfa58 Mon Sep 17 00:00:00 2001 From: guillaume-peoch-sonarsource Date: Wed, 26 Apr 2023 14:57:49 +0200 Subject: SONAR-19084 Display Github Synchronisation status --- server/sonar-web/src/main/js/components/hooks/useManageProvider.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/sonar-web/src/main/js/components') 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(); -- cgit v1.2.3