This repository was archived by the owner on Sep 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
client/web/src/enterprise/batches/settings Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -383,6 +383,7 @@ const AddToken: FC<AddTokenProps> = ({
383383 authenticatedUser = { user as unknown as AuthenticatedUser }
384384 minimizedMode = { true }
385385 kind = { kind }
386+ externalServiceURL = { externalServiceURL }
386387 />
387388 ) }
388389 </ >
Original file line number Diff line number Diff line change @@ -23,16 +23,18 @@ interface BatchChangesCreateGitHubAppPageProps {
2323 authenticatedUser : AuthenticatedUser
2424 minimizedMode ?: boolean
2525 kind : GitHubAppKind
26+ externalServiceURL ?: string
2627}
2728
2829export const BatchChangesCreateGitHubAppPage : FC < BatchChangesCreateGitHubAppPageProps > = ( {
2930 minimizedMode,
3031 kind,
3132 authenticatedUser,
33+ externalServiceURL,
3234} ) => {
3335 const location = useLocation ( )
3436 const searchParams = new URLSearchParams ( location . search )
35- const baseURL = searchParams . get ( 'baseURL' )
37+ const baseURL = externalServiceURL || searchParams . get ( 'baseURL' )
3638
3739 const isGitHubAppKindCredential = kind === GitHubAppKind . USER_CREDENTIAL || kind === GitHubAppKind . SITE_CREDENTIAL
3840
You can’t perform that action at this time.
0 commit comments