diff --git a/manifest.json b/manifest.json index f087151..fb0812c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-zotero-desktop-connector", "name": "Zotero Desktop Connector", - "version": "1.0.1", + "version": "1.0.2", "minAppVersion": "0.12.0", "description": "Insert citations, bibliographies, and notes directly from Zotero desktop.", "author": "mgmeyers", diff --git a/src/exportNotes.ts b/src/exportNotes.ts index e5e2489..827c574 100644 --- a/src/exportNotes.ts +++ b/src/exportNotes.ts @@ -19,6 +19,11 @@ export async function noteExportPrompt(database: Database) { if (!notes) return; + if (!notes.length) { + new Notice("No notes found for selected items", 7000); + return; + } + const notesMarkdown: Record = {}; Object.keys(notes).forEach((key) => {