mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 17:47:44 -05:00
fix: auto show artifacts when opening a conversation
This commit is contained in:
@@ -176,7 +176,7 @@
|
||||
{onSourceClick}
|
||||
{onTaskClick}
|
||||
{onSave}
|
||||
onUpdate={(token) => {
|
||||
onUpdate={async (token) => {
|
||||
const { lang, text: code } = token;
|
||||
|
||||
if (
|
||||
@@ -185,10 +185,9 @@
|
||||
!$mobile &&
|
||||
$chatId
|
||||
) {
|
||||
setTimeout(() => {
|
||||
showArtifacts.set(true);
|
||||
showControls.set(true);
|
||||
});
|
||||
await tick();
|
||||
showArtifacts.set(true);
|
||||
showControls.set(true);
|
||||
}
|
||||
}}
|
||||
onPreview={async (value) => {
|
||||
|
||||
Reference in New Issue
Block a user