diff --git a/app/chat/page.tsx b/app/chat/page.tsx index e62c1a1..3a9e1c4 100644 --- a/app/chat/page.tsx +++ b/app/chat/page.tsx @@ -72,7 +72,7 @@ const AgentPage = () => { try { const contextTemp = history?.[history.length - 1]?.context; const contextObj = JSON.parse(contextTemp); - setChartsData(contextObj?.template_name === 'sales_report' ? contextObj?.charts : undefined); + setChartsData(contextObj?.template_name === 'report' ? contextObj?.charts : undefined); } catch (e) { setChartsData(undefined); }