fix: remove chat block button flag (#7767)

This commit is contained in:
donteatfriedrice
2024-08-07 06:31:04 +00:00
parent eb01e76426
commit e1087a0c7b

View File

@@ -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,
_,