Skip to content

Commit 5a9d369

Browse files
committed
bugfix: chat sessions not applying filter
1 parent 0e606b0 commit 5a9d369

File tree

2 files changed

+2
-2
lines changed
  • clients
    • search-component/src/vanilla
    • trieve-shopify-extension/app/queries/analytics

2 files changed

+2
-2
lines changed

clients/search-component/src/vanilla/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function renderRecommendationsToDiv(
5858
case "beta": {
5959
const link = document.createElement("link");
6060
link.rel = "stylesheet";
61-
link.href = "https://cdn.trieve.ai/beta/search-component/index.css";
61+
link.href = "https://cdn.trieve.ai/beta/search-component/index.css";
6262
document.head.appendChild(link);
6363
break;
6464
}

clients/trieve-shopify-extension/app/queries/analytics/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const allChatsQuery = (
9999
type: "topic_queries",
100100
page: page,
101101
topic_events_filter:
102-
topic_event_filter && topic_event_filter.event_types?.length > 0
102+
topic_event_filter && topic_event_filter.event_names?.length > 0
103103
? topic_event_filter
104104
: undefined,
105105
sort_by,

0 commit comments

Comments
 (0)