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(sidebar): allow opening duplicate views (#1834)

dev-rb64812bc8cfe0
diff --git a/js/app/packages/app/component/app-sidebar/sidebar.tsx b/js/app/packages/app/component/app-sidebar/sidebar.tsx
index 8efe6bed60..8c5586db4c 100644
--- a/js/app/packages/app/component/app-sidebar/sidebar.tsx
+++ b/js/app/packages/app/component/app-sidebar/sidebar.tsx
@@ -139,6 +139,7 @@ export const AppSidebar = (props: AppSidebarProps) => {
{
preferNewSplit: e?.shiftKey,
mergeHistory: true,
+ allowDuplicate: true,
}
);
return true;
@@ -201,6 +202,7 @@ export const AppSidebar = (props: AppSidebarProps) => {
{
preferNewSplit: e.shiftKey,
mergeHistory: true,
+ allowDuplicate: true,
}
);
}}
@@ -343,6 +345,7 @@ const SidebarLink = (props: SidebarLinkProps) => {
{
preferNewSplit: e.shiftKey,
mergeHistory: true,
+ allowDuplicate: true,
}
);
}}