mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
refac: artifacts panel behaviour
This commit is contained in:
parent
f02ef01e0c
commit
822024f44e
1 changed files with 5 additions and 0 deletions
|
|
@ -120,6 +120,11 @@
|
|||
}
|
||||
});
|
||||
|
||||
if (contents.length === 0) {
|
||||
showControls.set(false);
|
||||
showArtifacts.set(false);
|
||||
}
|
||||
|
||||
selectedContentIdx = contents ? contents.length - 1 : 0;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue