Space sync now scheduled
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
import { editor } from "$sb/silverbullet-syscall/mod.ts";
|
||||
import { editor, sync } from "$sb/silverbullet-syscall/mod.ts";
|
||||
|
||||
export async function syncSpaceCommand() {
|
||||
await editor.flashNotification("Syncing space...");
|
||||
await editor.syncSpace();
|
||||
await sync.scheduleSpaceSync();
|
||||
await editor.flashNotification("Done.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user