From e0ff8379472fafcde8fa9e2c46414ba7ec6e6c70 Mon Sep 17 00:00:00 2001 From: mARTin-B78 Date: Wed, 27 May 2026 11:01:48 +0200 Subject: [PATCH] Fix Benchmark page not showing: add s-performance to nav.js SECTIONS nav.js SECTIONS array controls which page-sections get is-active toggled; s-performance was missing so the section stayed display:none. Also map the 'performance' tab key to the new section for switchTab compatibility. Co-Authored-By: Claude Sonnet 4.6 --- static/nav.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/nav.js b/static/nav.js index bbe1351..0512282 100644 --- a/static/nav.js +++ b/static/nav.js @@ -10,6 +10,7 @@ getvoices: 's-studio', generation: 's-tryout', 'stt-tts': 's-tryout', + performance: 's-performance', routing: 's-routing', integrations: 's-connect', howto: 's-connect', @@ -17,7 +18,7 @@ llms: 's-llms' }; - const SECTIONS = ['s-voices', 's-clone', 's-design', 's-studio', 's-tryout', 's-routing', 's-connect', 's-settings', 's-llms']; + const SECTIONS = ['s-voices', 's-clone', 's-design', 's-studio', 's-tryout', 's-performance', 's-routing', 's-connect', 's-settings', 's-llms']; function runSideEffects(name) { if (name === 'library' && typeof loadVoiceLibrary === 'function') loadVoiceLibrary();