diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2026-09-13 08:13:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-13 08:13:20 -0400 |
| commit | daadf150e7c89a7725045f497328540959433082 (patch) | |
| tree | c6eb45fe25b8faf783fc16fcd9bfcd703addfd6e /src/components | |
| parent | e580c6bd60c92af36f92d4c29b5d9a44f73d47d7 (diff) | |
| parent | b03471f869c29fc066fc02f7c59f76e3ac4eea4d (diff) | |
| download | decky-lsfg-vk-daadf150e7c89a7725045f497328540959433082.tar.gz decky-lsfg-vk-daadf150e7c89a7725045f497328540959433082.zip | |
Merge pull request #265 from xXJSONDeruloXx/fix/v1-v2-migrate
fix: handle v1-v2 migration state cleanly
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Content.tsx | 7 | ||||
| -rw-r--r-- | src/components/SettingsTab.tsx | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/components/Content.tsx b/src/components/Content.tsx index 470db95..fdb7afa 100644 --- a/src/components/Content.tsx +++ b/src/components/Content.tsx @@ -251,7 +251,12 @@ export function Content() { ...(showDebugTab ? [{ id: "ConfigFile", title: tabIcons.configFile, content: tabContent(<ConfigFileTab />) }] : []), { id: "Settings", title: tabIcons.settings, content: tabContent(settings) }, ] - : [{ id: "Settings", title: tabIcons.settings, content: tabContent(settings) }]; + : [ + ...(isInstalled && showDebugTab + ? [{ id: "ConfigFile", title: tabIcons.configFile, content: tabContent(<ConfigFileTab />) }] + : []), + { id: "Settings", title: tabIcons.settings, content: tabContent(settings) }, + ]; const availableTabIds = new Set(tabs.map(({ id }) => id)); const activeTab = availableTabIds.has(tab) ? tab : setupComplete ? "Steam" : "Settings"; diff --git a/src/components/SettingsTab.tsx b/src/components/SettingsTab.tsx index 35a74cc..d06cb52 100644 --- a/src/components/SettingsTab.tsx +++ b/src/components/SettingsTab.tsx @@ -59,7 +59,7 @@ export function SettingsTab(props: SettingsTabProps) { <PanelSectionRow> <Field label="Steam branch" - description={`${steamBranchStatus.current_branch || "public"}${steamBranchStatus.needs_switch ? ` - ${steamBranchStatus.message}` : ""}`} + description={`${steamBranchStatus.selected_branch || "public"}${steamBranchStatus.needs_switch ? ` - ${steamBranchStatus.message}` : ""}`} /> </PanelSectionRow> )} |
