mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-08-06 17:02:54 +02:00
#19 - Fix for tags
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user