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: file type change update quick access provider name (#2393)

gbirman3d5655504c4d
diff --git a/js/app/packages/core/context/quickAccess/QuickAccessProvider.tsx b/js/app/packages/core/context/quickAccess/QuickAccessProvider.tsx
index 938221be19..f3a4ec6257 100644
--- a/js/app/packages/core/context/quickAccess/QuickAccessProvider.tsx
+++ b/js/app/packages/core/context/quickAccess/QuickAccessProvider.tsx
@@ -69,7 +69,7 @@ function historyItemToEntity(item: HistoryItem): QuickAccessEntity {
case 'document': {
const fileType =
item.subType?.type === 'task' ? 'md' : (item.fileType ?? undefined);
- const name = formatDocumentName(item.name, fileType, {
+ const name = formatDocumentName(item.rawName ?? item.name, fileType, {
fullyQualifiedBlockName: true,
});
return {