fix(core): correct image action icon (#7370)

fix AF-1002

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/5c0ymolP9B7QStCsS1RP/b2e7afb1-e6bf-4589-8c60-32bede366350.png)
This commit is contained in:
forehalo
2024-06-28 05:24:06 +00:00
parent f020cd353e
commit d51fd8b54b

View File

@@ -432,7 +432,7 @@ export function buildAIImageItemGroups(): AIItemGroupConfig[] {
items: [ items: [
{ {
name: 'Explain this image', name: 'Explain this image',
icon: ExplainIcon, icon: AIImageIcon,
showWhen: () => true, showWhen: () => true,
handler: actionToHandler( handler: actionToHandler(
'explainImage', 'explainImage',
@@ -457,14 +457,6 @@ export function buildAIImageItemGroups(): AIItemGroupConfig[] {
blockActionTrackerOptions blockActionTrackerOptions
), ),
}, },
{
name: 'AI image filter',
icon: ImproveWritingIcon,
showWhen: () => true,
subItem: createImageFilterSubItem(blockActionTrackerOptions),
subItemOffset: [12, -4],
beta: true,
},
{ {
name: 'Image processing', name: 'Image processing',
icon: AIImageIcon, icon: AIImageIcon,
@@ -473,6 +465,14 @@ export function buildAIImageItemGroups(): AIItemGroupConfig[] {
subItemOffset: [12, -6], subItemOffset: [12, -6],
beta: true, beta: true,
}, },
{
name: 'AI image filter',
icon: ImproveWritingIcon,
showWhen: () => true,
subItem: createImageFilterSubItem(blockActionTrackerOptions),
subItemOffset: [12, -4],
beta: true,
},
{ {
name: 'Generate a caption', name: 'Generate a caption',
icon: AIPenIcon, icon: AIPenIcon,