fix(core): skip background syncing in the web (#4077)

This commit is contained in:
Alex Yang
2023-08-31 12:59:34 -05:00
committed by GitHub
parent a2e4ef904b
commit 97a0969583

View File

@@ -35,6 +35,9 @@ const downloadRecursive = async (
};
export async function startSync() {
if (!environment.isDesktop) {
return;
}
abortController = new AbortController();
const signal = abortController.signal;
const workspaces = await CRUD.list();