forked from open-webui/open-webui
feat: disable external tab for users with user role
This commit is contained in:
parent
e278ca9ef7
commit
8c4528366f
1 changed files with 24 additions and 24 deletions
|
@ -692,7 +692,6 @@
|
|||
</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 ===
|
||||
|
@ -717,6 +716,7 @@
|
|||
</div>
|
||||
<div class=" self-center">External</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 a new issue