mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
fix
This commit is contained in:
parent
8fc178ae91
commit
b4adffc3af
1 changed files with 2 additions and 3 deletions
|
|
@ -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 a new issue