Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(soup): optimistic email archiving (#2038)

teo2775638483d9
diff --git a/js/app/packages/app/component/next-soup/actions/make-mark-done-action.ts b/js/app/packages/app/component/next-soup/actions/make-mark-done-action.ts
index 2c19837344..44513074cb 100644
--- a/js/app/packages/app/component/next-soup/actions/make-mark-done-action.ts
+++ b/js/app/packages/app/component/next-soup/actions/make-mark-done-action.ts
@@ -73,7 +73,7 @@ export const makeMarkDoneAction = (options: MakeMarkDoneOptions) => {
for (const entity of entities) {
if (entity.type === 'email') {
- archiveEmail(entity.id, {
+ await archiveEmail(entity.id, {
archive: true,
optimisticallyExclude: true,
});