diff --git a/src/renderer/components/execution/SettingsShell.tsx b/src/renderer/components/execution/SettingsShell.tsx index 7e47a63c..777cc6a3 100644 --- a/src/renderer/components/execution/SettingsShell.tsx +++ b/src/renderer/components/execution/SettingsShell.tsx @@ -96,7 +96,6 @@ export function SettingsShell({ snapshot, secrets, companyId, onSaved }: Setting
{activeTab === "general" ? (
- {t("exec.secretBackend")} -
- {snapshot.backend.secretBackend} + {t("exec.profile")} +
+ +
); } + +function ReadOnlyRow({ label, value, mono }: { label: string; value: string; mono?: boolean }) { + return ( +
+ {label} + {value} +
+ ); +} diff --git a/src/renderer/components/execution/settings-sections/GeneralSection.tsx b/src/renderer/components/execution/settings-sections/GeneralSection.tsx index aa6a8760..d294412e 100644 --- a/src/renderer/components/execution/settings-sections/GeneralSection.tsx +++ b/src/renderer/components/execution/settings-sections/GeneralSection.tsx @@ -5,7 +5,6 @@ import { Eyebrow, Select } from "../../ui"; import { useT } from "../../../i18n"; interface GeneralSectionProps { - snapshot: ProfileSnapshot; theme: ProfileSnapshot["theme"]; setTheme: (theme: ProfileSnapshot["theme"]) => void; selectedLocale: AppLocale; @@ -22,7 +21,6 @@ interface GeneralSectionProps { * individually as soon as the user changes it. */ export function GeneralSection({ - snapshot, theme, setTheme, selectedLocale, @@ -84,9 +82,6 @@ export function GeneralSection({ className="h-4 w-4 accent-[color:var(--primary)]" /> -
- {t("exec.profilePath")}: {snapshot.profilePath} -