Piilotetut paneelit tavoitettavissa hashilla: #network, #laskentaverkko, #codelab

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 08:52:57 +03:00
parent 6097cfc263
commit 2eeac255f6

View File

@@ -1708,8 +1708,9 @@ IMPORTANT: Include get_db() dependency for FastAPI` },
// URL-hash navigointi
const initHash = window.location.hash.replace('#', '');
if (['codelab', 'agents', 'guide'].includes(initHash)) {
switchMainTab(initHash);
const hashMap = { 'laskentaverkko': 'network', 'network': 'network', 'codelab': 'codelab', 'agents': 'agents', 'guide': 'guide' };
if (hashMap[initHash]) {
switchMainTab(hashMap[initHash]);
}
// Synkronoi coder-status kun WS on jo auki (suora #codelab navigointi)