mirror of
https://github.com/open-webui/open-webui
synced 2025-04-26 09:10:15 +00:00
refac
This commit is contained in:
parent
5cc43ae880
commit
c58f0844a3
@ -114,20 +114,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
</Menu>
|
</Menu>
|
||||||
{:else if $mobile && ($user.role === 'admin' || $user?.permissions?.chat?.controls)}
|
|
||||||
<Tooltip content={$i18n.t('Controls')}>
|
|
||||||
<button
|
|
||||||
class=" flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-50 dark:hover:bg-gray-850 transition"
|
|
||||||
on:click={async () => {
|
|
||||||
await showControls.set(!$showControls);
|
|
||||||
}}
|
|
||||||
aria-label="Controls"
|
|
||||||
>
|
|
||||||
<div class=" m-auto self-center">
|
|
||||||
<AdjustmentsHorizontal className=" size-5" strokeWidth="0.5" />
|
|
||||||
</div>
|
|
||||||
</button>
|
|
||||||
</Tooltip>
|
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<Tooltip content={$i18n.t('Controls')}>
|
<Tooltip content={$i18n.t('Controls')}>
|
||||||
|
Loading…
Reference in New Issue
Block a user