chore: format

This commit is contained in:
Timothy Jaeryang Baek
2025-06-03 22:51:59 +04:00
parent c01e29c47f
commit 25157ca6ba
53 changed files with 277 additions and 53 deletions
+17 -1
View File
@@ -32,7 +32,23 @@
$: {
const pathParts = $page.url.pathname.split('/');
const tabFromPath = pathParts[pathParts.length - 1];
selectedTab = ['general', 'connections', 'models', 'evaluations', 'tools', 'documents', 'web', 'code-execution', 'interface', 'audio', 'images', 'pipelines', 'db'].includes(tabFromPath) ? tabFromPath : 'general';
selectedTab = [
'general',
'connections',
'models',
'evaluations',
'tools',
'documents',
'web',
'code-execution',
'interface',
'audio',
'images',
'pipelines',
'db'
].includes(tabFromPath)
? tabFromPath
: 'general';
}
onMount(() => {