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 52ed7f2 commit 748a3d0Copy full SHA for 748a3d0
frontend/src/components/ChatBot/ChatInfoModal.tsx
@@ -289,7 +289,7 @@ const ChatInfoModal: React.FC<chatInfoMessage> = ({
289
className='flex items-center mb-2 text-ellipsis whitespace-nowrap max-w-[100%)] overflow-hidden'
290
>
291
<div style={{ backgroundColor: calcWordColor(Object.keys(label)[0]) }} className='legend mr-2'>
292
- {label[Object.keys(label)[0]]['id'] as string}
+ {label[Object.keys(label)[0]]['id'] as string ?? Object.keys(label)[0]}
293
</div>
294
</li>
295
))
0 commit comments