Skip to content

Commit 3c3d9e3

Browse files
committed
Adds the pull request icon to the primary "Create PR" button
(#4332)
1 parent 4daf098 commit 3c3d9e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,10 @@ export abstract class GlBranchCardBase extends GlElement {
802802
describeWithAI: false,
803803
source: { source: 'home', detail: 'create-pr' },
804804
})}"
805-
>Create a Pull Request</gl-button
806805
>
806+
<code-icon icon="git-pull-request" slot="prefix"></code-icon>
807+
<span>Create a Pull Request</span>
808+
</gl-button>
807809
${this._homeState.orgSettings.ai &&
808810
this._homeState.aiEnabled &&
809811
this.remote?.provider?.supportedFeatures?.createPullRequestWithDetails

0 commit comments

Comments
 (0)