mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-02 07:53:55 +03:00
Fix "open in vscode" context menu
This commit is contained in:
parent
b101c1db58
commit
308edbe1b9
@ -39,7 +39,7 @@
|
||||
expanded: boolean;
|
||||
}>();
|
||||
|
||||
let popupMenu = new HunkContextMenu({
|
||||
const popupMenu = new HunkContextMenu({
|
||||
target: document.body,
|
||||
props: { projectPath, file, branchController }
|
||||
});
|
||||
|
@ -30,7 +30,7 @@
|
||||
{/if}
|
||||
{#if item.lineNumber}
|
||||
<PopupMenuItem
|
||||
disabled={!!projectPath}
|
||||
disabled={!projectPath}
|
||||
on:click={() =>
|
||||
projectPath && open(`vscode://file${projectPath}/${file.path}:${item.lineNumber}`)}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user