mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-23 20:54:50 +03:00
Update StackingSeriesHeaderContextMenu.svelte (#5436)
This commit is contained in:
parent
1bca738991
commit
fdbf545179
@ -5,6 +5,7 @@
|
||||
import ContextMenuItem from '$lib/components/contextmenu/ContextMenuItem.svelte';
|
||||
import ContextMenuSection from '$lib/components/contextmenu/ContextMenuSection.svelte';
|
||||
import { projectAiGenEnabled } from '$lib/config/config';
|
||||
import { copyToClipboard } from '$lib/utils/clipboard';
|
||||
import { openExternalUrl } from '$lib/utils/url';
|
||||
import { BranchController } from '$lib/vbranches/branchController';
|
||||
import { VirtualBranch, type CommitStatus } from '$lib/vbranches/types';
|
||||
@ -119,6 +120,13 @@
|
||||
contextMenuEl?.close();
|
||||
}}
|
||||
/>
|
||||
<ContextMenuItem
|
||||
label="Copy PR link"
|
||||
onclick={() => {
|
||||
copyToClipboard(prUrl);
|
||||
contextMenuEl?.close();
|
||||
}}
|
||||
/>
|
||||
<ContextMenuItem
|
||||
label="Show PR details"
|
||||
onclick={() => {
|
||||
|
Loading…
Reference in New Issue
Block a user