refactor(core): add to edgeless as note icon (#12656)

### TL;DR

refactor(core): add to edgeless as note icon

> CLOSE AI-152

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **Style**
  - Updated the icon for the "Add to Edgeless as Note" chat action to improve visual representation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
yoyoyohamapi
2025-06-03 07:02:04 +00:00
parent d02aa8c7e0
commit 3fe2ac4e46

View File

@@ -34,6 +34,7 @@ import { GfxControllerIdentifier } from '@blocksuite/affine/std/gfx';
import type { Store } from '@blocksuite/affine/store';
import {
BlockIcon,
EdgelessIcon,
InsertBleowIcon as InsertBelowIcon,
LinkedPageIcon,
PageIcon,
@@ -430,7 +431,7 @@ const SAVE_AS_BLOCK: ChatAction = {
};
const ADD_TO_EDGELESS_AS_NOTE = {
icon: PageIcon({ width: '20px', height: '20px' }),
icon: EdgelessIcon({ width: '20px', height: '20px' }),
title: 'Add to edgeless as note',
showWhen: (host: EditorHost) => {
if (host.std.store.readonly$.value) {