From 3a1575e31c1d8631b11be677368da7237e5682df Mon Sep 17 00:00:00 2001 From: anjanaw Date: Fri, 9 Feb 2024 18:44:18 +0000 Subject: [PATCH] check for empty methods --- src/components/iSee/persona/PersonaIntents.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/iSee/persona/PersonaIntents.tsx b/src/components/iSee/persona/PersonaIntents.tsx index 6e495c2..5c692fb 100644 --- a/src/components/iSee/persona/PersonaIntents.tsx +++ b/src/components/iSee/persona/PersonaIntents.tsx @@ -444,7 +444,7 @@ const PersonaIntents: React.FC = (props) => { dataIndex: 'methods', key: 'methods', render: (_: any, strategy: any) => - <>{strategy.methods.map((m: string) => ( + <>{strategy.methods?.map((m: string) => (

{m}