mirror of
https://github.com/open-webui/open-webui
synced 2025-02-25 06:44:07 +00:00
refac: chat controls
This commit is contained in:
parent
db8b3d29da
commit
149eea2377
@ -243,6 +243,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{#if $user.role === 'admin' || $user?.permissions.chat?.controls}
|
||||||
<div class="mt-2 space-y-3 pr-1.5">
|
<div class="mt-2 space-y-3 pr-1.5">
|
||||||
<div class="flex justify-between items-center text-sm">
|
<div class="flex justify-between items-center text-sm">
|
||||||
<div class=" font-medium">{$i18n.t('Advanced Parameters')}</div>
|
<div class=" font-medium">{$i18n.t('Advanced Parameters')}</div>
|
||||||
@ -320,6 +321,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex justify-end pt-3 text-sm font-medium">
|
<div class="flex justify-end pt-3 text-sm font-medium">
|
||||||
|
Loading…
Reference in New Issue
Block a user