mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 08:08:34 +08:00
fix: clean up formatting in auto sync logic for better readability
This commit is contained in:
@@ -221,8 +221,8 @@ export default class ObsidianSyncNotionPlugin extends Plugin {
|
||||
// Filter out NotionID-related keys and Obsidian internal keys
|
||||
const isIgnoredKey = (key: string) => {
|
||||
return key.startsWith('NotionID-') ||
|
||||
key === 'NotionID' ||
|
||||
key === 'position'; // Obsidian's internal metadata
|
||||
key === 'NotionID' ||
|
||||
key === 'position'; // Obsidian's internal metadata
|
||||
};
|
||||
const oldNonNotionKeys = oldKeys.filter(k => !isIgnoredKey(k)).sort();
|
||||
const newNonNotionKeys = newKeys.filter(k => !isIgnoredKey(k)).sort();
|
||||
|
||||
Reference in New Issue
Block a user