diff --git a/manifest.json b/manifest.json index 4d42e97..d86bb7a 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "google-calendar", "name": "Google Calendar", - "version": "1.10.14", + "version": "1.10.15", "minAppVersion": "0.12.0", "description": "Interact with your Google Calendar from Inside Obsidian", "author": "YukiGasai", diff --git a/package-lock.json b/package-lock.json index 0d242c9..e8ac18f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "google-calendar", - "version": "1.10.13", + "version": "1.10.15", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "google-calendar", - "version": "1.10.13", + "version": "1.10.15", "license": "MIT", "dependencies": { "@popperjs/core": "^2.11.6", diff --git a/package.json b/package.json index ce0796b..abb7543 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "google-calendar", - "version": "1.10.14", + "version": "1.10.15", "description": "Interact with your Google Calendar from Inside Obsidian", "main": "main.js", "scripts": { diff --git a/src/helper/AutoEventNoteCreator.ts b/src/helper/AutoEventNoteCreator.ts index b49d2f5..ee83154 100644 --- a/src/helper/AutoEventNoteCreator.ts +++ b/src/helper/AutoEventNoteCreator.ts @@ -55,7 +55,8 @@ export const checkForEventNotes = async (plugin: GoogleCalendarPlugin): Promise< const match = events[i].description?.match(regex) ?? []; if (match.length == 3) { //the trigger text was found and a new note will be created - await createNoteFromEvent(events[i], match[1], match[2], true) + //the fallback allows for formats :folder-marker-template:, :marker-template:, :folder-marker:, :marker: + await createNoteFromEvent(events[i], match[1] ?? plugin.settings.defaultFolder, match[2] ?? plugin.settings.defaultTemplate, true) } } }