mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-22 21:50:42 -05:00
refac
This commit is contained in:
1 parent
52f44caf87
commit
c0bd0cb34f
1 file changed
+2
-3
@@ -929,7 +929,6 @@
|
||||
);
|
||||
|
||||
$: showTerminalSelector =
|
||||
terminalSelectionEnabled &&
|
||||
$config?.features?.enable_tool_servers &&
|
||||
($terminalServers ?? []).some((t) => t.id);
|
||||
|
||||
@@ -2659,7 +2658,7 @@
|
||||
bind:tab={inputMenuTab}
|
||||
{chatId}
|
||||
bind:terminalContext
|
||||
disabled={generating}
|
||||
disabled={generating || !terminalSelectionEnabled}
|
||||
/>
|
||||
{#if inputMenuTab === ''}
|
||||
<div class="h-px mx-1 my-1 bg-gray-100 dark:bg-gray-800"></div>
|
||||
@@ -2933,7 +2932,7 @@
|
||||
bind:show={showTerminalMenu}
|
||||
{chatId}
|
||||
bind:terminalContext
|
||||
disabled={generating}
|
||||
disabled={generating || !terminalSelectionEnabled}
|
||||
/>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in new issue
Block a user