Skip to content

Commit 754ac4e

Browse files
eamodiod13
authored andcommitted
Fixes command start & updates tooltip
1 parent 4fdc2ee commit 754ac4e

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/webviews/apps/plus/graph/GraphWrapper.tsx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,20 +1149,21 @@ export function GraphWrapper({
11491149
<GlTooltip placement="bottom">
11501150
<a
11511151
className="action-button"
1152-
href={createCommandLink(Commands.GitCommandsBranch, {
1153-
args: {
1154-
state: {
1155-
subcommand: 'create',
1156-
reference: branch,
1157-
},
1158-
command: 'branch',
1159-
confirm: true,
1160-
} satisfies BranchGitCommandArgs,
1152+
href={createCommandLink<BranchGitCommandArgs>(Commands.GitCommandsBranch, {
1153+
state: {
1154+
subcommand: 'create',
1155+
reference: branch,
1156+
},
1157+
command: 'branch',
1158+
confirm: true,
11611159
})}
11621160
>
11631161
<span className="codicon codicon-custom-git-branch-create action-button__icon"></span>
11641162
</a>
1165-
<span slot="content">Create new branch</span>
1163+
<span slot="content">
1164+
Create New Branch from <span className="codicon codicon-git-branch"></span>
1165+
<span className="md-code">{branchName}</span>
1166+
</span>
11661167
</GlTooltip>
11671168
<GlTooltip placement="bottom">
11681169
<a

0 commit comments

Comments
 (0)