mirror of
https://github.com/rifts-obsidian-laboratory/anki-integration.git
synced 2026-07-22 05:42:50 +00:00
Patch - Issue #12
This commit is contained in:
parent
44744da1d9
commit
1fb2078cef
1 changed files with 4 additions and 2 deletions
|
|
@ -137,8 +137,10 @@ export class AddNoteFromMetadataModal extends Modal {
|
|||
"ankiIntegrationModal__container--gap-16px"
|
||||
])
|
||||
|
||||
for (let i = 0; i < yaml["cardTags"].length; i++) {
|
||||
AddTagInputGroup(tagsBody, yaml["cardTags"][i]);
|
||||
if (yaml["cardTags"] != null) {
|
||||
for (let i = 0; i < yaml["cardTags"].length; i++) {
|
||||
AddTagInputGroup(tagsBody, yaml["cardTags"][i]);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @description addTagFieldButton's onClick() event listener used to add a tag input group in tagsBody.
|
||||
|
|
|
|||
Loading…
Reference in a new issue