We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90c9c0a commit f51738dCopy full SHA for f51738d
src/interfaces/coral_web/src/components/Conversation/Composer/EnabledDataSources.tsx
@@ -66,8 +66,8 @@ export const EnabledDataSources: React.FC<Props> = ({ isStreaming }) => {
66
{enabledTools?.map((t, i) => (
67
<DataSourceChip
68
key={`tool-${i}`}
69
- iconName={TOOL_ID_TO_DISPLAY_INFO[t.name ?? '']?.icon ?? TOOL_FALLBACK_ICON}
70
- label={t.name ?? ''}
+ iconName={TOOL_ID_TO_DISPLAY_INFO[t.name]?.icon ?? TOOL_FALLBACK_ICON}
+ label={TOOL_ID_TO_DISPLAY_INFO[t.name]?.name ?? t.name}
71
onDelete={handleDeleteTool(t.name ?? '')}
72
/>
73
))}
0 commit comments