mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix(core): fix all docs group header (#12334)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved document grouping logic in the explorer view, allowing for more dynamic and responsive updates when changing grouping criteria. - **Bug Fixes** - Prevented unnecessary synchronization operations in local workspace environments, ensuring sync only occurs for applicable workspace types. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -136,7 +136,8 @@ export class DocCreatedByUpdatedBySyncService extends Service {
|
||||
workspaceRootDocSynced &&
|
||||
isOwnerOrAdmin &&
|
||||
missingCreatedBy &&
|
||||
!markedSynced
|
||||
!markedSynced &&
|
||||
this.workspaceService.workspace.flavour !== 'local'
|
||||
)
|
||||
),
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user