Add a sidebar action to create a share link (#6233)
This commit is contained in:
@ -75,6 +75,18 @@ export function ModelingSidebar({ paneOpacity }: ModelingSidebarProps) {
|
|||||||
data: { name: 'Insert', groupId: 'code' },
|
data: { name: 'Insert', groupId: 'code' },
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: 'share-link',
|
||||||
|
title: 'Create share link',
|
||||||
|
sidebarName: 'Create share link',
|
||||||
|
icon: 'link',
|
||||||
|
keybinding: 'Mod + Alt + S',
|
||||||
|
action: () =>
|
||||||
|
commandBarActor.send({
|
||||||
|
type: 'Find and select command',
|
||||||
|
data: { name: 'share-file-link', groupId: 'code' },
|
||||||
|
}),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: 'export',
|
id: 'export',
|
||||||
title: 'Export part',
|
title: 'Export part',
|
||||||
|
Reference in New Issue
Block a user