mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
fix
This commit is contained in:
parent
8fc178ae91
commit
b4adffc3af
@ -122,10 +122,9 @@
|
|||||||
</PaneResizer>
|
</PaneResizer>
|
||||||
<Pane
|
<Pane
|
||||||
bind:pane
|
bind:pane
|
||||||
defaultSize={$showControls
|
defaultSize={$showControls ? parseInt(localStorage?.chatControlsSize ?? '30') : 0}
|
||||||
? controlPane.resize(parseInt(localStorage?.chatControlsSize ?? '30'))
|
|
||||||
: 0}
|
|
||||||
onResize={(size) => {
|
onResize={(size) => {
|
||||||
|
console.log(size);
|
||||||
if (size === 0) {
|
if (size === 0) {
|
||||||
showControls.set(false);
|
showControls.set(false);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user