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.

chg(list): enable optimistic updating on all view (#1144)

teoa21cb52314be
diff --git a/js/app/packages/app/component/ViewConfig.tsx b/js/app/packages/app/component/ViewConfig.tsx
index 344a286c7c..8f4789c081 100644
--- a/js/app/packages/app/component/ViewConfig.tsx
+++ b/js/app/packages/app/component/ViewConfig.tsx
@@ -209,6 +209,7 @@ const ALL_VIEWCONFIG_DEFAULTS = {
if (entity.type === 'email') {
archiveEmail(entity.id, {
isDone: entity.done,
+ optimisticallyExclude: true,
});
}
if (extra?.notificationSource) {
@@ -237,6 +238,7 @@ const ALL_VIEWCONFIG_DEFAULTS = {
if (entity.type === 'email') {
archiveEmail(entity.id, {
isDone: entity.done,
+ optimisticallyExclude: true,
});
}
if (extra?.notificationSource) {
@@ -317,6 +319,7 @@ const ALL_VIEWCONFIG_DEFAULTS = {
if (entity.type === 'email') {
archiveEmail(entity.id, {
isDone: entity.done,
+ optimisticallyExclude: true,
});
}
if (extra?.notificationSource) {