This commit is contained in:
Timothy J. Baek
2024-09-21 03:44:44 +02:00
parent 5d848ad130
commit aed8e2156f
3 changed files with 25 additions and 25 deletions
-11
View File
@@ -29,7 +29,6 @@
export let initNewChat: Function;
export let title: string = $WEBUI_NAME;
export let shareEnabled: boolean = false;
export let controlPane;
export let chat;
export let selectedModels;
@@ -112,16 +111,6 @@
class=" flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-50 dark:hover:bg-gray-850 transition"
on:click={async () => {
await showControls.set(!$showControls);
if (controlPane) {
if ($showControls) {
controlPane.resize(
parseInt(localStorage.getItem('chat-controls-size') || '35')
);
} else {
controlPane.resize(0);
}
}
}}
aria-label="Controls"
>