mirror of
https://github.com/stablyai/orca.git
synced 2026-10-18 16:03:17 +00:00
fix(sidebar): use automation icon for Hide automation-created filter
The workspace-options filter row used the Workflow icon while the Automations nav item and page use CalendarClock. Match them so the filter clearly maps to automation-created workspaces.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import React, { useCallback, useMemo, useState } from 'react'
|
||||
import { Check, FolderPlus, GitBranch, ListFilter, Moon, Server, Workflow } from 'lucide-react'
|
||||
import { CalendarClock, Check, FolderPlus, GitBranch, ListFilter, Moon, Server } from 'lucide-react'
|
||||
import { useAppStore } from '@/store'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import {
|
||||
@@ -200,7 +200,7 @@ const SidebarFilter = React.memo(function SidebarFilter({
|
||||
onChange={setHideDefaultBranchWorkspace}
|
||||
/>
|
||||
<FilterToggleRow
|
||||
icon={<Workflow className="size-3.5" />}
|
||||
icon={<CalendarClock className="size-3.5" />}
|
||||
label={translate(
|
||||
'auto.components.sidebar.SidebarFilter.automationCreated',
|
||||
'Hide automation-created'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { GitBranch, Moon, Workflow } from 'lucide-react'
|
||||
import { CalendarClock, GitBranch, Moon } from 'lucide-react'
|
||||
import { useAppStore } from '@/store'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { translate } from '@/i18n/i18n'
|
||||
@@ -40,7 +40,7 @@ const SidebarWorkspaceFilterSection = React.memo(function SidebarWorkspaceFilter
|
||||
onChange={setHideDefaultBranchWorkspace}
|
||||
/>
|
||||
<FilterToggleRow
|
||||
icon={<Workflow className="size-3.5" />}
|
||||
icon={<CalendarClock className="size-3.5" />}
|
||||
label={translate(
|
||||
'auto.components.sidebar.SidebarWorkspaceFilterSection.automationCreated',
|
||||
'Hide automation-created'
|
||||
|
||||
Reference in New Issue
Block a user