diff --git a/manifest.json b/manifest.json index 87b5d4d..14c3157 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "memos-sync", "name": "Memos Sync", - "version": "0.4.2", + "version": "0.4.3", "minAppVersion": "1.5.12", "description": "Syncing memos from a [Memos](https://github.com/usememos/memos) server to your daily note. Fully compatible with official Daily Notes plugin, Calendar plugin and Periodic Notes plugin.", "author": "RyoJerryYu", diff --git a/package.json b/package.json index 38b0f88..7aec8a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-memos-sync", - "version": "0.4.2", + "version": "0.4.3", "description": "Syncing Memos to Obsidian daily note.", "main": "main.js", "scripts": { diff --git a/src/services/DailyMemos/DailyNoteModifier.ts b/src/services/DailyMemos/DailyNoteModifier.ts index 8c7600b..436de52 100644 --- a/src/services/DailyMemos/DailyNoteModifier.ts +++ b/src/services/DailyMemos/DailyNoteModifier.ts @@ -86,8 +86,8 @@ export class DailyNoteModifier { ); const sortedRecordList = Object.entries({ - ...fetchedRecordList, ...existedRecordList, + ...fetchedRecordList, }) .sort((a, b) => Number(a[0]) - Number(b[0])) .map((item) => item[1]) diff --git a/versions.json b/versions.json index da23783..86e96b3 100644 --- a/versions.json +++ b/versions.json @@ -7,5 +7,6 @@ "0.3.4": "1.5.12", "0.4.0": "1.5.12", "0.4.1": "1.5.12", - "0.4.2": "1.5.12" + "0.4.2": "1.5.12", + "0.4.3": "1.5.12" } \ No newline at end of file