mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-16 11:37:47 +01:00
fix: update to access source field (#92)
This commit is contained in:
@@ -135,7 +135,7 @@ function DropdownList({ selected, suggests }: DropdownListProps) {
|
||||
</div>
|
||||
<div className="flex gap-2 items-center relative">
|
||||
<span className="text-sm text-[#666] dark:text-[#666] truncate w-52 text-right">
|
||||
{item?._source?.source}
|
||||
{item?._source?.source?.name}
|
||||
</span>
|
||||
{showIndex && index < 10 ? (
|
||||
<div
|
||||
|
||||
@@ -120,7 +120,7 @@ function Search({ isChatMode, input }: SearchProps) {
|
||||
</div>
|
||||
)}
|
||||
|
||||
<Footer isChat={false} name={selectedItem?.source} />
|
||||
<Footer isChat={false} name={selectedItem?.source?.name} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user