Skip to content

Commit

Permalink
check for empty methods
Browse files Browse the repository at this point in the history
  • Loading branch information
anjanaw committed Feb 9, 2024
1 parent c4696ce commit 3a1575e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/iSee/persona/PersonaIntents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ const PersonaIntents: React.FC<PersonaType> = (props) => {
dataIndex: 'methods',
key: 'methods',
render: (_: any, strategy: any) =>
<>{strategy.methods.map((m: string) => (
<>{strategy.methods?.map((m: string) => (
<p>
<Tag color={strategy.applicabilities ? strategy.applicabilities[m].flag ? "blue" : "red" : "blue"}>{m}</Tag>
<Popover placement='right' content={
Expand Down

0 comments on commit 3a1575e

Please sign in to comment.