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(web): give the local soup grouping match a fallback (#8428)

Peter Chinmanaf1c5e2b67d5
diff --git a/apps/web/src/lib/queries/soup/graphql/grouped-local-projection.ts b/apps/web/src/lib/queries/soup/graphql/grouped-local-projection.ts
index 074f33fcc1..86932eb855 100644
--- a/apps/web/src/lib/queries/soup/graphql/grouped-local-projection.ts
+++ b/apps/web/src/lib/queries/soup/graphql/grouped-local-projection.ts
@@ -105,7 +105,8 @@ export function localSoupGroupKeys(
: 'older',
];
})
- .exhaustive()
+ // An unknown grouping field (a newer server) keeps the server key.
+ .exhaustive(() => undefined)
);
}