fix: fix condition of displaying artifacts
This commit is contained in:
parent
1bb91bb267
commit
21e12d91eb
|
|
@ -148,7 +148,7 @@ export default function ChatPage() {
|
|||
)}
|
||||
</div>
|
||||
<div>
|
||||
{artifacts?.length && !artifactsOpen && (
|
||||
{artifacts?.length > 0 && !artifactsOpen && (
|
||||
<Tooltip content="Show artifacts of this conversation">
|
||||
<Button
|
||||
variant="ghost"
|
||||
|
|
|
|||
Loading…
Reference in New Issue