mirror of
https://github.com/open-webui/open-webui
synced 2025-02-06 13:10:16 +00:00
feat: disable users from accesing models setting
This commit is contained in:
parent
5133ec75e3
commit
d7d4d44489
@ -761,6 +761,7 @@
|
||||
<div class=" self-center">Advanced</div>
|
||||
</button>
|
||||
|
||||
{#if $user?.role === 'admin'}
|
||||
<button
|
||||
class="px-2.5 py-2.5 min-w-fit rounded-lg flex-1 md:flex-none flex text-right transition {selectedTab ===
|
||||
'models'
|
||||
@ -786,6 +787,7 @@
|
||||
</div>
|
||||
<div class=" self-center">Models</div>
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
<button
|
||||
class="px-2.5 py-2.5 min-w-fit rounded-lg flex-1 md:flex-none flex text-right transition {selectedTab ===
|
||||
|
Loading…
Reference in New Issue
Block a user