File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
webviews/apps/shared/components Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import type { CommandContext } from './commandContext';
13
13
import { isCommandContextViewNodeHasRemote } from './commandContext.utils' ;
14
14
15
15
export interface ConnectRemoteProviderCommandArgs {
16
- remote : string ;
16
+ remote ? : string ;
17
17
repoPath : string ;
18
18
}
19
19
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ export class GlRepoButtonGroup extends GlElement {
200
200
< a
201
201
href =${ createCommandLink < ConnectRemoteProviderCommandArgs > (
202
202
'gitlens.connectRemoteProvider' ,
203
- { remote : provider . bestRemoteName ! , repoPath : repo . path } ,
203
+ { repoPath : repo . path } ,
204
204
) }
205
205
>
206
206
Connect to ${ repo . provider ! . name }
@@ -228,7 +228,6 @@ export class GlRepoButtonGroup extends GlElement {
228
228
part ="connect-icon "
229
229
appearance ="toolbar "
230
230
href =${ createCommandLink < ConnectRemoteProviderCommandArgs > ( 'gitlens.connectRemoteProvider' , {
231
- remote : provider . bestRemoteName ! ,
232
231
repoPath : repo . path ,
233
232
} ) }
234
233
>
You can’t perform that action at this time.
0 commit comments