Skip to content

Commit db930e3

Browse files
committed
bugfix: filter out empty event names
1 parent bfd2449 commit db930e3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

clients/trieve-shopify-extension/app/routes/app._dashboard.chats.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ export default function ChatsPage() {
9191
};
9292
for (const event of topic.event_names) {
9393
if (event == "View") continue;
94+
if (event == "") continue;
95+
if (event == " ") continue;
9496

9597
event_names_counts[event] = (event_names_counts[event] ?? 0) + 1;
9698
}

0 commit comments

Comments
 (0)