mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 16:35:57 +08:00
fix: error if no tags but option enabled
This commit is contained in:
@@ -50,7 +50,7 @@ export class Upload2Notion {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
Tags: {
|
Tags: {
|
||||||
multi_select: allowTags ? tags.map(tag => {
|
multi_select: allowTags && tags !== undefined ? tags.map(tag => {
|
||||||
return {"name": tag}
|
return {"name": tag}
|
||||||
}) : [],
|
}) : [],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user