Hide media scripts when empty

This commit is contained in:
Elio Struyf
2024-08-13 09:21:32 +02:00
parent 800acde914
commit 31460026ee
2 changed files with 8 additions and 1 deletions
+5 -1
View File
@@ -1,6 +1,6 @@
# Change Log
## [10.3.0] - 2024-xx-xx
## [10.3.0] - 2024-xx-xx - [Release notes](https://beta.frontmatter.codes/updates/v10.3.0)
### ✨ New features
@@ -23,6 +23,10 @@
- [#830](https://github.com/estruyf/vscode-front-matter/issues/830): Fix for using the SEO title field setting to change the title field reference
- [#832](https://github.com/estruyf/vscode-front-matter/issues/832): Fix for finding folders with wildcards in the path
## [10.2.1] - 2024-08-08
- [#820](https://github.com/estruyf/vscode-front-matter/issues/820): Update API links to the new API URL
## [10.2.0] - 2024-06-12 - [Release notes](https://beta.frontmatter.codes/updates/v10.2.0)
### ✨ New features
@@ -33,6 +33,9 @@ export const CustomActions: React.FunctionComponent<ICustomActionsProps> = ({
));
}, [scripts]);
if (!customActions.length) {
return null;
}
if (showTrigger) {
return (