mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-18 20:59:30 +01:00
refac: note editor model selection
This commit is contained in:
@@ -778,6 +778,10 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings,
|
||||
}
|
||||
}
|
||||
|
||||
if (!selectedModelId) {
|
||||
selectedModelId = $models.at(0)?.id || '';
|
||||
}
|
||||
|
||||
const dropzoneElement = document.getElementById('note-editor');
|
||||
|
||||
dropzoneElement?.addEventListener('dragover', onDragOver);
|
||||
|
||||
Reference in New Issue
Block a user