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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();