summaryrefslogtreecommitdiff
path: root/src/components/Content.tsx
diff options
context:
space:
mode:
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";