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
cc47e635
Commit
cc47e635
authored
May 21, 2024
by
Timothy J. Baek
Browse files
fix: chat refac
parent
2502bd8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+1
-1
No files found.
src/lib/components/chat/Chat.svelte
View file @
cc47e635
...
@@ -122,7 +122,7 @@
...
@@ -122,7 +122,7 @@
}
}
onMount
(
async
()
=>
{
onMount
(
async
()
=>
{
if
(
!chatId) {
if
(
!
$
chatId) {
await
initNewChat
();
await
initNewChat
();
}
else
{
}
else
{
if
(
!($settings.saveChatHistory ?? true)) {
if
(
!($settings.saveChatHistory ?? true)) {
...
...
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