Fix duplicate snippets reference

This commit is contained in:
Elio Struyf
2022-04-01 15:54:32 +02:00
parent 39a30b320d
commit 757ccbddcf
+1 -5
View File
@@ -1528,10 +1528,6 @@
"command": "frontMatter.dashboard.snippets",
"when": "frontMatter:dashboard:snippets:enabled"
},
{
"command": "frontMatter.insertSnippet",
"when": "frontMatter:dashboard:snippets:enabled"
},
{
"command": "frontMatter.collapseSections",
"when": "false"
@@ -1598,7 +1594,7 @@
},
{
"command": "frontMatter.insertSnippet",
"when": "frontMatter:file:isValid == true"
"when": "frontMatter:file:isValid == true && frontMatter:dashboard:snippets:enabled"
},
{
"command": "frontMatter.insertImage",