feat(web): move automations entry above agents in settings sidebar (#1049)
This commit is contained in:
@@ -325,6 +325,23 @@ export function SettingsAppSidebar() {
|
||||
<GeneralSidebarSection pathname={pathname} />
|
||||
<WorkspacesSidebarSection pathname={pathname} workspaces={workspaces} />
|
||||
<IntegrationsSidebarSection pathname={pathname} />
|
||||
|
||||
{/* Automations */}
|
||||
<SidebarMenuItem>
|
||||
<SidebarMenuButton
|
||||
asChild
|
||||
isActive={
|
||||
pathname.startsWith("/settings/automations") ||
|
||||
pathname.includes("/automations")
|
||||
}
|
||||
>
|
||||
<Link href="/settings/automations">
|
||||
<IconBolt className="h-4 w-4" />
|
||||
<span>Automations</span>
|
||||
</Link>
|
||||
</SidebarMenuButton>
|
||||
</SidebarMenuItem>
|
||||
|
||||
<AgentsSidebarSection pathname={pathname} agents={agents} />
|
||||
|
||||
{/* Prompts */}
|
||||
@@ -349,22 +366,6 @@ export function SettingsAppSidebar() {
|
||||
|
||||
<ExecutorsSidebarSection pathname={pathname} executors={executors} />
|
||||
|
||||
{/* Automations */}
|
||||
<SidebarMenuItem>
|
||||
<SidebarMenuButton
|
||||
asChild
|
||||
isActive={
|
||||
pathname.startsWith("/settings/automations") ||
|
||||
pathname.includes("/automations")
|
||||
}
|
||||
>
|
||||
<Link href="/settings/automations">
|
||||
<IconBolt className="h-4 w-4" />
|
||||
<span>Automations</span>
|
||||
</Link>
|
||||
</SidebarMenuButton>
|
||||
</SidebarMenuItem>
|
||||
|
||||
<SecretsSidebarSection pathname={pathname} />
|
||||
|
||||
{/* External MCP */}
|
||||
|
||||
Reference in New Issue
Block a user