fix: should not show open folder if it is not moved (#2299)

This commit is contained in:
Peng Xiao
2023-05-11 13:36:22 +08:00
committed by GitHub
parent 73dbb39009
commit 06fa0cdb60
12 changed files with 170 additions and 51 deletions

View File

@@ -243,7 +243,7 @@ const createSQLiteProvider = (
blockSuiteWorkspace.doc.on('update', handleUpdate);
let timer = 0;
unsubscribe = events.db.onDbFileUpdate(workspaceId => {
unsubscribe = events.db.onDBFileUpdate(workspaceId => {
if (workspaceId === blockSuiteWorkspace.id) {
// throttle
logger.debug('on db update', workspaceId);