mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
fix: remove chat block button flag (#7767)
This commit is contained in:
@@ -283,8 +283,7 @@ const SAVE_CHAT_TO_BLOCK_ACTION: ChatAction = {
|
||||
icon: BlockIcon,
|
||||
title: 'Save chat to block',
|
||||
toast: 'Successfully saved chat to a block',
|
||||
showWhen: (host: EditorHost) =>
|
||||
!!host.doc.awarenessStore.getFlag('enable_ai_chat_block'),
|
||||
showWhen: () => true,
|
||||
handler: async (
|
||||
host: EditorHost,
|
||||
_,
|
||||
|
||||
Reference in New Issue
Block a user