Skip to content

Commit 94f1875

Browse files
committed
Ensure active selection in Launchpad
1 parent 082022f commit 94f1875

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/plus/launchpad/launchpadIndicator.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ export class LaunchpadIndicator implements Disposable {
368368
source: 'launchpad-indicator',
369369
state: {
370370
initialGroup: 'mergeable',
371-
selectTopItem: labelType === 'item',
371+
selectTopItem: true,
372372
},
373373
} satisfies Omit<LaunchpadCommandArgs, 'command'>),
374374
)} "Open Ready to Merge in Launchpad")`,
@@ -429,7 +429,10 @@ export class LaunchpadIndicator implements Disposable {
429429
}](command:gitlens.showLaunchpad?${encodeURIComponent(
430430
JSON.stringify({
431431
source: 'launchpad-indicator',
432-
state: { initialGroup: 'blocked', selectTopItem: labelType === 'item' },
432+
state: {
433+
initialGroup: 'blocked',
434+
selectTopItem: true,
435+
},
433436
} satisfies Omit<LaunchpadCommandArgs, 'command'>),
434437
)} "Open Blocked in Launchpad")`,
435438
);
@@ -465,7 +468,7 @@ export class LaunchpadIndicator implements Disposable {
465468
source: 'launchpad-indicator',
466469
state: {
467470
initialGroup: 'follow-up',
468-
selectTopItem: labelType === 'item',
471+
selectTopItem: true,
469472
},
470473
} satisfies Omit<LaunchpadCommandArgs, 'command'>),
471474
)} "Open Follow-Up in Launchpad")`,
@@ -488,7 +491,7 @@ export class LaunchpadIndicator implements Disposable {
488491
source: 'launchpad-indicator',
489492
state: {
490493
initialGroup: 'needs-review',
491-
selectTopItem: labelType === 'item',
494+
selectTopItem: true,
492495
},
493496
} satisfies Omit<LaunchpadCommandArgs, 'command'>),
494497
)} "Open Needs Your Review in Launchpad")`,

0 commit comments

Comments
 (0)