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:
Brennan Benson
2026-07-22 14:38:11 -07:00
parent 11310eef63
commit 3f41f1e7d8
2 changed files with 4 additions and 4 deletions
@@ -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'