Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: only log document event when enableDocumentInternalLog is enabled (#7676)
Lucasd74b0bf6e144
diff --git a/frontend/appflowy_flutter/lib/plugins/document/application/document_bloc.dart b/frontend/appflowy_flutter/lib/plugins/document/application/document_bloc.dartindex e044ffc4e5..0a54ec5753 100644--- a/frontend/appflowy_flutter/lib/plugins/document/application/document_bloc.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/application/document_bloc.dart@@ -271,8 +271,10 @@ class DocumentBloc extends Bloc<DocumentEvent, DocumentState> {return;}- if (options.inMemoryUpdate && enableDocumentInternalLog) {- Log.trace('skip transaction for in-memory update');+ if (options.inMemoryUpdate) {+ if (enableDocumentInternalLog) {+ Log.trace('skip transaction for in-memory update');+ }return;}