mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-09-21 14:37:51 +00:00
fix: only log document event when enableDocumentInternalLog is enabled (#7676)
This commit is contained in:
parent
913924d8d3
commit
d74b0bf6e1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user