mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-23 15:19:31 +01:00
fix: create new note
This commit is contained in:
@@ -303,12 +303,10 @@
|
||||
});
|
||||
|
||||
onMount(async () => {
|
||||
if ($page.url.searchParams.get('content')) {
|
||||
if ($page.url.searchParams.get('content') !== null) {
|
||||
const content = $page.url.searchParams.get('content') ?? '';
|
||||
if (content) {
|
||||
createNoteHandler(content);
|
||||
return;
|
||||
}
|
||||
createNoteHandler(content);
|
||||
return;
|
||||
}
|
||||
|
||||
await init();
|
||||
|
||||
Reference in New Issue
Block a user