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