Skip to content

Commit 413d504

Browse files
committed
Removes the option to associate an issue from cards in the RECENT section
(#4333)
1 parent cbf87b9 commit 413d504

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
99
### Changed
1010

1111
- Automatically stashes (and pops) uncommitted changes on Pull ([#4296](https://github.com/gitkraken/vscode-gitlens/issues/4296))
12+
- Removes the option to associate an issue from cards in the RECENT section of the _Home_ view ([#4333](https://github.com/gitkraken/vscode-gitlens/issues/4333))
1213

1314
### Fixed
1415

src/webviews/apps/plus/home/components/branch-card.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -916,18 +916,7 @@ export abstract class GlBranchCardBase extends GlElement {
916916
protected renderIssuesItem(): TemplateResult | NothingType {
917917
const issues = [...(this.issues ?? []), ...(this.autolinks ?? [])];
918918
if (!issues.length) {
919-
if (!this.expanded) return nothing;
920-
921-
return html`<gl-button
922-
class="branch-item__missing"
923-
appearance="secondary"
924-
full
925-
href=${this.createCommandLink<AssociateIssueWithBranchCommandArgs>('gitlens.associateIssueWithBranch', {
926-
branch: this.branch.reference,
927-
source: 'home',
928-
})}
929-
>Associate an Issue</gl-button
930-
>`;
919+
return nothing;
931920
}
932921

933922
const indicator: GlCard['indicator'] = this.branch.opened ? 'base' : undefined;

0 commit comments

Comments
 (0)