File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,6 +316,7 @@ export class IssueOverviewPanel<TItem extends IssueModel = IssueModel> extends W
316316 const hidePromise = asPromise < void > ( quickPick . onDidHide ) ;
317317 const labelsToAdd = await Promise . race < readonly vscode . QuickPickItem [ ] | void > ( [ acceptPromise , hidePromise ] ) ;
318318 quickPick . busy = true ;
319+ quickPick . enabled = false ;
319320
320321 if ( labelsToAdd ) {
321322 await this . _item . setLabels ( labelsToAdd . map ( r => r . label ) ) ;
@@ -393,6 +394,7 @@ export class IssueOverviewPanel<TItem extends IssueModel = IssueModel> extends W
393394 const hidePromise = asPromise < void > ( quickPick . onDidHide ) ;
394395 const allAssignees = await Promise . race < ( vscode . QuickPickItem & { user : IAccount } ) [ ] | void > ( [ acceptPromise , hidePromise ] ) ;
395396 quickPick . busy = true ;
397+ quickPick . enabled = false ;
396398
397399 if ( allAssignees ) {
398400 const newAssignees : IAccount [ ] = allAssignees . map ( item => item . user ) ;
Original file line number Diff line number Diff line change @@ -387,6 +387,7 @@ export class PullRequestOverviewPanel extends IssueOverviewPanel<PullRequestMode
387387 const hidePromise = asPromise < void > ( quickPick . onDidHide ) ;
388388 const allReviewers = await Promise . race < ( IAccount | ITeam ) [ ] | void > ( [ acceptPromise , hidePromise ] ) ;
389389 quickPick . busy = true ;
390+ quickPick . enabled = false ;
390391
391392 if ( allReviewers ) {
392393 const newUserReviewers : IAccount [ ] = [ ] ;
You can’t perform that action at this time.
0 commit comments