#19 - Fix for tags

This commit is contained in:
Elio Struyf
2020-10-30 09:45:11 +01:00
parent 337faa520d
commit 80eb57925d
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -1,5 +1,9 @@
# Change Log
## [1.7.2] - 2020-10-30
- [#19](https://github.com/estruyf/vscode-front-matter/issues/19): fix for tag insertion when empty tag is used
## [1.7.1] - 2020-10-21
- Fix for title and description length check
+1 -1
View File
@@ -32,7 +32,7 @@ export class Article {
if (article.data[matterProp]) {
const propData = article.data[matterProp];
if (propData && propData.length > 0) {
options = [...propData].map(p => ({
options = [...propData].filter(p => p).map(p => ({
label: p,
picked: true
} as vscode.QuickPickItem));