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> = ({
383
383
authenticatedUser = { user as unknown as AuthenticatedUser }
384
384
minimizedMode = { true }
385
385
kind = { kind }
386
+ externalServiceURL = { externalServiceURL }
386
387
/>
387
388
) }
388
389
</ >
Original file line number Diff line number Diff line change @@ -23,16 +23,18 @@ interface BatchChangesCreateGitHubAppPageProps {
23
23
authenticatedUser : AuthenticatedUser
24
24
minimizedMode ?: boolean
25
25
kind : GitHubAppKind
26
+ externalServiceURL ?: string
26
27
}
27
28
28
29
export const BatchChangesCreateGitHubAppPage : FC < BatchChangesCreateGitHubAppPageProps > = ( {
29
30
minimizedMode,
30
31
kind,
31
32
authenticatedUser,
33
+ externalServiceURL,
32
34
} ) => {
33
35
const location = useLocation ( )
34
36
const searchParams = new URLSearchParams ( location . search )
35
- const baseURL = searchParams . get ( 'baseURL' )
37
+ const baseURL = externalServiceURL || searchParams . get ( 'baseURL' )
36
38
37
39
const isGitHubAppKindCredential = kind === GitHubAppKind . USER_CREDENTIAL || kind === GitHubAppKind . SITE_CREDENTIAL
38
40
You can’t perform that action at this time.
0 commit comments