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