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 <noreply@anthropic.com>
This commit is contained in:
parent
dc47aa0431
commit
e0ff837947
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user