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
b2999ad5
Commit
b2999ad5
authored
Aug 04, 2024
by
Timothy J. Baek
Browse files
refac
parent
49677e9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/lib/components/layout/Sidebar.svelte
src/lib/components/layout/Sidebar.svelte
+2
-1
src/lib/stores/index.ts
src/lib/stores/index.ts
+1
-1
No files found.
src/lib/components/layout/Sidebar.svelte
View file @
b2999ad5
...
...
@@ -56,7 +56,7 @@
let filteredChatList = [];
// Pagination variables
let chatListLoading =
fals
e;
let chatListLoading =
tru
e;
let allChatsLoaded = false;
$: filteredChatList = $chats.filter((chat) => {
...
...
@@ -107,6 +107,7 @@
await pinnedChats.set(await getChatListByTagName(localStorage.token, 'pinned'));
await chats.set(await getChatList(localStorage.token, $currentChatPage));
chatListLoading = false;
let touchstart;
let touchend;
...
...
src/lib/stores/index.ts
View file @
b2999ad5
...
...
@@ -43,7 +43,7 @@ export const showChangelog = writable(false);
export
const
showCallOverlay
=
writable
(
false
);
export
const
scrollPaginationEnabled
=
writable
(
true
);
export
const
currentChatPage
=
writable
(
0
);
export
const
currentChatPage
=
writable
(
1
);
export
type
Model
=
OpenAIModel
|
OllamaModel
;
...
...
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