Complete the basic function of customisation

This commit is contained in:
Jiaxin Peng
2024-01-29 11:12:07 +00:00
parent a179d3da52
commit 8c6aea8250
6 changed files with 54 additions and 36 deletions

View File

@@ -139,7 +139,7 @@ export class Upload2NotionGeneral extends UploadBaseGeneral {
const frontmasster =
app.metadataCache.getFileCache(nowFile)?.frontmatter;
const {abName} = this.dbDetails
const notionIDKey = `${abName}-NotionID`;
const notionIDKey = `NotionID-${abName}`;
const notionID = frontmasster ? frontmasster[notionIDKey] : null;