mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
feat: fix data center
This commit is contained in:
@@ -186,7 +186,7 @@ export class DataCenter {
|
||||
*/
|
||||
public async onWorkspacesChange(
|
||||
callback: (workspaces: WorkspaceUnitCollectionChangeEvent) => void,
|
||||
{ immediate = true }: { immediate?: boolean }
|
||||
{ immediate = true }: { immediate?: boolean } = {}
|
||||
) {
|
||||
if (immediate) {
|
||||
callback({
|
||||
|
||||
Reference in New Issue
Block a user