Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

Fix order of mutations when syncing

Hakan Shehu4aa249e0feac
diff --git a/apps/desktop/src/main/services/workspaces/mutation-service.ts b/apps/desktop/src/main/services/workspaces/mutation-service.ts
index 7c14a33b..370f0538 100644
--- a/apps/desktop/src/main/services/workspaces/mutation-service.ts
+++ b/apps/desktop/src/main/services/workspaces/mutation-service.ts
@@ -395,7 +395,7 @@ export class MutationService {
}
return {
- validMutations,
+ validMutations: validMutations.reverse(),
deletedMutationIds,
};
}