summaryrefslogtreecommitdiff
path: root/src/components/Content.tsx
diff options
context:
space:
mode:
authorKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-09-13 07:47:06 -0400
committerKurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>2026-09-13 07:47:06 -0400
commitb03471f869c29fc066fc02f7c59f76e3ac4eea4d (patch)
treec6eb45fe25b8faf783fc16fcd9bfcd703addfd6e /src/components/Content.tsx
parent81feb03288166755545401b9df2ff2c9bc3ae7d7 (diff)
downloaddecky-lsfg-vk-b03471f869c29fc066fc02f7c59f76e3ac4eea4d.tar.gz
decky-lsfg-vk-b03471f869c29fc066fc02f7c59f76e3ac4eea4d.zip
fix: handle v1-v2 migration state cleanly
Diffstat (limited to 'src/components/Content.tsx')
-rw-r--r--src/components/Content.tsx7
1 files changed, 6 insertions, 1 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";