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
68aca768
Commit
68aca768
authored
Jun 15, 2024
by
Timothy J. Baek
Browse files
fix
parent
2f501aee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/lib/components/chat/Settings/Personalization/EditMemoryModal.svelte
...ents/chat/Settings/Personalization/EditMemoryModal.svelte
+6
-1
No files found.
src/lib/components/chat/Settings/Personalization/EditMemoryModal.svelte
View file @
68aca768
...
@@ -17,9 +17,13 @@
...
@@ -17,9 +17,13 @@
let content = '';
let content = '';
$: if (show) {
$: if (show) {
content = memory.c
ontent;
setC
ontent
()
;
}
}
const setContent = () => {
content = memory.content;
};
const submitHandler = async () => {
const submitHandler = async () => {
loading = true;
loading = true;
...
@@ -32,6 +36,7 @@
...
@@ -32,6 +36,7 @@
if (res) {
if (res) {
console.log(res);
console.log(res);
toast.success('Memory updated successfully');
toast.success('Memory updated successfully');
dispatch('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