mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 21:13:59 +00:00
refac: artifacts panel behaviour
This commit is contained in:
parent
f02ef01e0c
commit
822024f44e
@ -120,6 +120,11 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (contents.length === 0) {
|
||||||
|
showControls.set(false);
|
||||||
|
showArtifacts.set(false);
|
||||||
|
}
|
||||||
|
|
||||||
selectedContentIdx = contents ? contents.length - 1 : 0;
|
selectedContentIdx = contents ? contents.length - 1 : 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user