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: unrolled list notifications opening in new split on mobile (#1462)

dev-rb6479b576b10b
diff --git a/js/app/packages/notifications/notification-navigation.ts b/js/app/packages/notifications/notification-navigation.ts
index 06c68373f0..af5e4dc1e2 100644
--- a/js/app/packages/notifications/notification-navigation.ts
+++ b/js/app/packages/notifications/notification-navigation.ts
@@ -28,11 +28,14 @@ function openSplitIfNotOpen(
existing.activate();
return;
}
- layoutManager.createNewSplit({
- content: { type, id },
- activate: true,
- referredFrom: null,
- });
+ layoutManager.openWithSplit(
+ { type, id },
+ {
+ activate: true,
+ referredFrom: null,
+ preferNewSplit: true,
+ }
+ );
}
/**