Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

Update ee/features/ai/components/chat-message.tsx

Marc Seitz44edaea1bd15
diff --git a/ee/features/ai/components/chat-message.tsx b/ee/features/ai/components/chat-message.tsx
index 6715f416..ecac86e9 100644
--- a/ee/features/ai/components/chat-message.tsx
+++ b/ee/features/ai/components/chat-message.tsx
@@ -58,8 +58,8 @@ function buildDocumentUrl(
page?: number,
): string {
const base = getViewerBasePath();
- const hash = page ? `#page=${page}` : "";
- return `${base}/d/${dataroomDocumentId}${hash}`;
+ const query = page ? `?p=${page}` : "";
+ return `${base}/d/${dataroomDocumentId}${query}`;
}
function normalizeAssistantLinkHref(href?: string): string | undefined {