mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 00:30:51 +00:00
fix
This commit is contained in:
parent
2f501aee14
commit
68aca76805
@ -17,9 +17,13 @@
|
|||||||
let content = '';
|
let content = '';
|
||||||
|
|
||||||
$: if (show) {
|
$: if (show) {
|
||||||
content = memory.content;
|
setContent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const setContent = () => {
|
||||||
|
content = memory.content;
|
||||||
|
};
|
||||||
|
|
||||||
const submitHandler = async () => {
|
const submitHandler = async () => {
|
||||||
loading = true;
|
loading = true;
|
||||||
|
|
||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user