mirror of
https://github.com/open-webui/computer.git
synced 2026-11-22 21:50:43 -05:00
refac
This commit is contained in:
1 parent
48d49345de
commit
f5fddd8f63
1 file changed
+4
-1
@@ -394,7 +394,10 @@
|
||||
class="flex items-center h-7 px-3 cursor-pointer hover:bg-gray-50 dark:hover:bg-white/3 transition-colors duration-75"
|
||||
onclick={() => {
|
||||
expanded = !expanded;
|
||||
if (expanded && view === 'history') loadHistory();
|
||||
if (expanded) {
|
||||
refresh();
|
||||
if (view === 'history') loadHistory();
|
||||
}
|
||||
}}
|
||||
>
|
||||
<!-- Branch button (opens branch picker, stops expand) -->
|
||||
|
||||
Reference in new issue
Block a user