mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-08 03:08:02 +00:00
fix(notes): refresh pinned notes sidebar when a note is deleted (#25640)
This commit is contained in:
parent
a66477b710
commit
b05be8a907
2 changed files with 2 additions and 0 deletions
|
|
@ -622,6 +622,7 @@ ${content}
|
|||
});
|
||||
|
||||
if (res) {
|
||||
pinnedNotes.set(await getPinnedNoteList(localStorage.token).catch(() => []));
|
||||
toast.success($i18n.t('Note deleted successfully'));
|
||||
goto('/notes');
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@
|
|||
});
|
||||
|
||||
if (res) {
|
||||
pinnedNotes.set(await getPinnedNoteList(localStorage.token).catch(() => []));
|
||||
init();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue