rebuild the locale file and add tag button to control tag syncing function

This commit is contained in:
Jiaxin Peng
2023-11-20 21:57:30 +00:00
parent 3c7e266a35
commit 3f35a56b6e
7 changed files with 157 additions and 108 deletions

View File

@@ -59,14 +59,13 @@ export class Upload2NotionGeneral extends UploadBaseGeneral {
},
],
},
tags: {
multi_select:
tags && true
? tags.map((tag) => {
return { name: tag };
})
: [],
},
...(this.plugin.settings.tagsButton
? {
tags: {
multi_select: tags && true ? tags.map((tag) => ({ name: tag })) : [],
},
}
: {}),
},
children: childArr,
};