Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
8c452836
Commit
8c452836
authored
Jan 04, 2024
by
Timothy J. Baek
Browse files
feat: disable external tab for users with user role
parent
e278ca9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
src/lib/components/chat/SettingsModal.svelte
src/lib/components/chat/SettingsModal.svelte
+24
-24
No files found.
src/lib/components/chat/SettingsModal.svelte
View file @
8c452836
...
@@ -692,7 +692,6 @@
...
@@ -692,7 +692,6 @@
</div>
</div>
<div class=" self-center">Models</div>
<div class=" self-center">Models</div>
</button>
</button>
{/if}
<button
<button
class="px-2.5 py-2.5 min-w-fit rounded-lg flex-1 md:flex-none flex text-right transition {selectedTab ===
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 @@
...
@@ -717,6 +716,7 @@
</div>
</div>
<div class=" self-center">External</div>
<div class=" self-center">External</div>
</button>
</button>
{/if}
<button
<button
class="px-2.5 py-2.5 min-w-fit rounded-lg flex-1 md:flex-none flex text-right transition {selectedTab ===
class="px-2.5 py-2.5 min-w-fit rounded-lg flex-1 md:flex-none flex text-right transition {selectedTab ===
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment