mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 04:50:11 +02:00
refac
This commit is contained in:
@@ -112,7 +112,7 @@
|
||||
transition={flyAndScale}
|
||||
>
|
||||
<!-- Direct terminals (gated by permission) -->
|
||||
{#if $user?.role === 'admin' || ($user?.permissions?.features?.direct_tool_servers ?? true)}
|
||||
{#if directTerminals.length > 0 && ($user?.role === 'admin' || ($user?.permissions?.features?.direct_tool_servers ?? true))}
|
||||
<div class="flex items-center justify-between px-3 py-1">
|
||||
<span
|
||||
class="text-[10px] font-medium text-gray-400 dark:text-gray-500 uppercase tracking-wider"
|
||||
|
||||
Reference in New Issue
Block a user