diff --git a/frontend/src/lib/components/SummaryPathDisplay.svelte b/frontend/src/lib/components/SummaryPathDisplay.svelte index 46aa489349..cfb0d6ecad 100644 --- a/frontend/src/lib/components/SummaryPathDisplay.svelte +++ b/frontend/src/lib/components/SummaryPathDisplay.svelte @@ -123,9 +123,9 @@ {/if}
diff --git a/frontend/src/lib/components/copilot/chat/AiChatLayout.svelte b/frontend/src/lib/components/copilot/chat/AiChatLayout.svelte index 13c927a89d..3e0351f249 100644 --- a/frontend/src/lib/components/copilot/chat/AiChatLayout.svelte +++ b/frontend/src/lib/components/copilot/chat/AiChatLayout.svelte @@ -77,7 +77,6 @@ aiChatManager.cancel('aiChatLayout destroyed') historyManager.close() }) - {#if !disableAi} diff --git a/frontend/src/lib/components/sidebar/SidebarContent.svelte b/frontend/src/lib/components/sidebar/SidebarContent.svelte index 98451045b1..d8f27ff0c6 100644 --- a/frontend/src/lib/components/sidebar/SidebarContent.svelte +++ b/frontend/src/lib/components/sidebar/SidebarContent.svelte @@ -193,34 +193,36 @@ ) // Labels, paths and icons come from the shared page table, so the nav and the page header's // breadcrumb always call a page the same thing. Everything else here is nav-only. - const MAIN_MENU_EXTRAS: Record void }> = - { - Home: { - aiId: 'sidebar-menu-link-home', - aiDescription: - "Button to navigate to home which contains all the user's scripts, flows and apps" - }, - Runs: { - aiId: 'sidebar-menu-link-runs', - aiDescription: 'Button to navigate to runs', - onclick: () => { - setTimeout(() => { - window.dispatchEvent(new Event('popstate')) - }, 100) - } - }, - Variables: { - aiId: 'sidebar-menu-link-variables', - aiDescription: 'Button to navigate to variables' - }, - Resources: { - aiId: 'sidebar-menu-link-resources', - aiDescription: 'Button to navigate to resources' - }, - Assets: { aiId: 'sidebar-menu-link-assets', aiDescription: 'Button to navigate to assets' }, - Folders: { aiId: 'sidebar-menu-link-folders', aiDescription: 'Button to navigate to folders' }, - Groups: { aiId: 'sidebar-menu-link-groups', aiDescription: 'Button to navigate to groups' } - } + const MAIN_MENU_EXTRAS: Record< + string, + { aiId: string; aiDescription: string; onclick?: () => void } + > = { + Home: { + aiId: 'sidebar-menu-link-home', + aiDescription: + "Button to navigate to home which contains all the user's scripts, flows and apps" + }, + Runs: { + aiId: 'sidebar-menu-link-runs', + aiDescription: 'Button to navigate to runs', + onclick: () => { + setTimeout(() => { + window.dispatchEvent(new Event('popstate')) + }, 100) + } + }, + Variables: { + aiId: 'sidebar-menu-link-variables', + aiDescription: 'Button to navigate to variables' + }, + Resources: { + aiId: 'sidebar-menu-link-resources', + aiDescription: 'Button to navigate to resources' + }, + Assets: { aiId: 'sidebar-menu-link-assets', aiDescription: 'Button to navigate to assets' }, + Folders: { aiId: 'sidebar-menu-link-folders', aiDescription: 'Button to navigate to folders' }, + Groups: { aiId: 'sidebar-menu-link-groups', aiDescription: 'Button to navigate to groups' } + } let mainMenuLinks = $derived( NAV_PAGES.filter((p) => p.label in MAIN_MENU_EXTRAS) .map((p) => ({ diff --git a/frontend/src/routes/(root)/(logged)/audit_logs/+page.svelte b/frontend/src/routes/(root)/(logged)/audit_logs/+page.svelte index 4f4698403e..467167e44f 100644 --- a/frontend/src/routes/(root)/(logged)/audit_logs/+page.svelte +++ b/frontend/src/routes/(root)/(logged)/audit_logs/+page.svelte @@ -122,40 +122,40 @@ {/snippet} {#snippet auditActions()} - -
- - {#snippet filters()} - auditLogsLoader.reload()} - /> - {/snippet} - -
+ +
+ + {#snippet filters()} + auditLogsLoader.reload()} + /> + {/snippet} + +
{/snippet}