mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-09-22 06:57:40 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options.inMemoryUpdate && enableDocumentInternalLog) {
|
if (options.inMemoryUpdate) {
|
||||||
|
if (enableDocumentInternalLog) {
|
||||||
Log.trace('skip transaction for in-memory update');
|
Log.trace('skip transaction for in-memory update');
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user