Skip to content

Commit 748a3d0

Browse files
Update ChatInfoModal.tsx
1 parent 52ed7f2 commit 748a3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/ChatBot/ChatInfoModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const ChatInfoModal: React.FC<chatInfoMessage> = ({
289289
className='flex items-center mb-2 text-ellipsis whitespace-nowrap max-w-[100%)] overflow-hidden'
290290
>
291291
<div style={{ backgroundColor: calcWordColor(Object.keys(label)[0]) }} className='legend mr-2'>
292-
{label[Object.keys(label)[0]]['id'] as string}
292+
{label[Object.keys(label)[0]]['id'] as string ?? Object.keys(label)[0]}
293293
</div>
294294
</li>
295295
))

0 commit comments

Comments
 (0)