fix: show the remote desktop note under connection origin again

This commit is contained in:
LukeGus committed 2026-09-30 14:45:18 -05:00
1 parent 9ce63d65d3
commit d8fb2e75af
6 files changed
+21 -2

No files matched your search

+3
View File
@@ -284,6 +284,9 @@ export function createPluginApp(
descriptionKey: protocol.descriptionKey
? key(protocol.descriptionKey)
: undefined,
connectionOriginNoteKey: protocol.connectionOriginNoteKey
? key(protocol.connectionOriginNoteKey)
: undefined,
}),
);
},
+12 -1
View File
@@ -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"
+1
View File
@@ -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. */