mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
fix: show the remote desktop note under connection origin again
This commit is contained in:
1 parent
9ce63d65d3
commit
d8fb2e75af
6 files changed
+21
-2
No files matched your search
@@ -284,6 +284,9 @@ export function createPluginApp(
|
||||
descriptionKey: protocol.descriptionKey
|
||||
? key(protocol.descriptionKey)
|
||||
: undefined,
|
||||
connectionOriginNoteKey: protocol.connectionOriginNoteKey
|
||||
? key(protocol.connectionOriginNoteKey)
|
||||
: undefined,
|
||||
}),
|
||||
);
|
||||
},
|
||||
|
||||
@@ -737,7 +737,18 @@ export function HostEditorGeneralTab({
|
||||
<HostOnly>
|
||||
<SettingRow
|
||||
label={t("hosts.connectionOrigin")}
|
||||
description={t("hosts.connectionOriginDesc")}
|
||||
description={[
|
||||
t("hosts.connectionOriginDesc"),
|
||||
...new Set(
|
||||
pluginProtocols
|
||||
.filter(
|
||||
(protocol) =>
|
||||
protocols[protocol.settingKey] &&
|
||||
protocol.connectionOriginNoteKey,
|
||||
)
|
||||
.map((protocol) => t(protocol.connectionOriginNoteKey!)),
|
||||
),
|
||||
].join(" ")}
|
||||
>
|
||||
<select
|
||||
className="flex h-7 border border-border bg-background px-2 py-0 text-xs outline-none focus:ring-1 focus:ring-ring"
|
||||
|
||||
@@ -18,6 +18,7 @@ export interface HostProtocolDef {
|
||||
defaultPort: number;
|
||||
titleKey: string;
|
||||
descriptionKey?: string;
|
||||
connectionOriginNoteKey?: string;
|
||||
icon: Icon;
|
||||
order?: number;
|
||||
/** Offer it in Quick Connect, optionally with a domain field. */
|
||||
|
||||
Reference in new issue
Block a user