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
b740fa3a
Commit
b740fa3a
authored
Feb 21, 2024
by
Timothy J. Baek
Browse files
fix: connection renamed to connections
parent
83d0c58a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
src/lib/components/chat/Settings/Connections.svelte
src/lib/components/chat/Settings/Connections.svelte
+0
-0
src/lib/components/chat/SettingsModal.svelte
src/lib/components/chat/SettingsModal.svelte
+6
-7
No files found.
src/lib/components/chat/Settings/Connection.svelte
→
src/lib/components/chat/Settings/Connection
s
.svelte
View file @
b740fa3a
File moved
src/lib/components/chat/SettingsModal.svelte
View file @
b740fa3a
...
@@ -7,14 +7,13 @@
...
@@ -7,14 +7,13 @@
import Modal from '../common/Modal.svelte';
import Modal from '../common/Modal.svelte';
import Account from './Settings/Account.svelte';
import Account from './Settings/Account.svelte';
import Advanced from './Settings/Advanced.svelte';
import About from './Settings/About.svelte';
import About from './Settings/About.svelte';
import Models from './Settings/Models.svelte';
import Models from './Settings/Models.svelte';
import General from './Settings/General.svelte';
import General from './Settings/General.svelte';
import Interface from './Settings/Interface.svelte';
import Interface from './Settings/Interface.svelte';
import Audio from './Settings/Audio.svelte';
import Audio from './Settings/Audio.svelte';
import Chats from './Settings/Chats.svelte';
import Chats from './Settings/Chats.svelte';
import Connection from './Settings/Connection.svelte';
import Connection
s
from './Settings/Connection
s
.svelte';
export let show = false;
export let show = false;
...
@@ -105,11 +104,11 @@
...
@@ -105,11 +104,11 @@
{#if $user?.role === 'admin'}
{#if $user?.role === 'admin'}
<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 ===
'connection'
'connection
s
'
? 'bg-gray-200 dark:bg-gray-700'
? 'bg-gray-200 dark:bg-gray-700'
: ' hover:bg-gray-300 dark:hover:bg-gray-800'}"
: ' hover:bg-gray-300 dark:hover:bg-gray-800'}"
on:click={() => {
on:click={() => {
selectedTab = 'connection';
selectedTab = 'connection
s
';
}}
}}
>
>
<div class=" self-center mr-2">
<div class=" self-center mr-2">
...
@@ -124,7 +123,7 @@
...
@@ -124,7 +123,7 @@
/>
/>
</svg>
</svg>
</div>
</div>
<div class=" self-center">Connection</div>
<div class=" self-center">Connection
s
</div>
</button>
</button>
<button
<button
...
@@ -322,8 +321,8 @@
...
@@ -322,8 +321,8 @@
/>
/>
{:else if selectedTab === 'models'}
{:else if selectedTab === 'models'}
<Models {getModels} />
<Models {getModels} />
{:else if selectedTab === 'connection'}
{:else if selectedTab === 'connection
s
'}
<Connection
<Connection
s
{getModels}
{getModels}
on:save={() => {
on:save={() => {
show = false;
show = false;
...
...
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