mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac: granular chat controls permissions
This commit is contained in:
@@ -266,6 +266,7 @@
|
||||
<Switch bind:state={permissions.chat.controls} />
|
||||
</div>
|
||||
|
||||
{#if permissions.chat.controls}
|
||||
<div class=" flex w-full justify-between my-2 pr-2">
|
||||
<div class=" self-center text-xs font-medium">
|
||||
{$i18n.t('Allow Chat Valves')}
|
||||
@@ -289,6 +290,7 @@
|
||||
|
||||
<Switch bind:state={permissions.chat.params} />
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class=" flex w-full justify-between my-2 pr-2">
|
||||
<div class=" self-center text-xs font-medium">
|
||||
|
||||
Reference in New Issue
Block a user