mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
feat: share button on connection tabs again
This commit is contained in:
1 parent
f2c9358ecf
commit
cb12541c16
3 files changed
+35
No files matched your search
@@ -320,6 +320,17 @@ export function activate(app: TermixApp): void {
|
||||
},
|
||||
});
|
||||
|
||||
// A small share button on the tab itself, as in 2.8.
|
||||
app.registerSlotContribution("tab.inline", {
|
||||
actionId: SHARE_ACTION,
|
||||
titleKey: "sessionSharing.shareButton",
|
||||
icon: Share2,
|
||||
kind: "button",
|
||||
when: (context) =>
|
||||
typeof (context.handle as { getShareTarget?: unknown } | null | undefined)
|
||||
?.getShareTarget === "function",
|
||||
});
|
||||
|
||||
app.registerSlotContribution("terminal.overlay", {
|
||||
actionId: "session-sharing.participants",
|
||||
titleKey: "collab.members",
|
||||
|
||||
Reference in new issue
Block a user