Skip to content

Commit

Permalink
Hide media scripts when empty
Browse files Browse the repository at this point in the history
  • Loading branch information
estruyf committed Aug 13, 2024
1 parent 800acde commit 3146002
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions src/dashboardWebView/components/Media/CustomActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ export const CustomActions: React.FunctionComponent<ICustomActionsProps> = ({
));
}, [scripts]);

if (!customActions.length) {
return null;
}

if (showTrigger) {
return (
Expand Down

0 comments on commit 3146002

Please sign in to comment.