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';
1313import { isCommandContextViewNodeHasRemote } from './commandContext.utils' ;
1414
1515export interface ConnectRemoteProviderCommandArgs {
16- remote : string ;
16+ remote ? : string ;
1717 repoPath : string ;
1818}
1919
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ export class GlRepoButtonGroup extends GlElement {
200200 < a
201201 href =${ createCommandLink < ConnectRemoteProviderCommandArgs > (
202202 'gitlens.connectRemoteProvider' ,
203- { remote : provider . bestRemoteName ! , repoPath : repo . path } ,
203+ { repoPath : repo . path } ,
204204 ) }
205205 >
206206 Connect to ${ repo . provider ! . name }
@@ -228,7 +228,6 @@ export class GlRepoButtonGroup extends GlElement {
228228 part ="connect-icon "
229229 appearance ="toolbar "
230230 href =${ createCommandLink < ConnectRemoteProviderCommandArgs > ( 'gitlens.connectRemoteProvider' , {
231- remote : provider . bestRemoteName ! ,
232231 repoPath : repo . path ,
233232 } ) }
234233 >
You can’t perform that action at this time.
0 commit comments