diff --git a/CHANGELOG.md b/CHANGELOG.md index 84cf0355..76827f7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ ### 🐞 Fixes - Fix for media folder parsing on Windows +- Refresh button was not available on the media dashboard when having custom scripts defined - [#909](https://github.com/estruyf/vscode-front-matter/issues/909): Schema fix for the view modes - [#913](https://github.com/estruyf/vscode-front-matter/issues/913): Fix for relative media paths in page bundles - [#914](https://github.com/estruyf/vscode-front-matter/issues/914): Fix sanitizing of default filenames with an `_` in it diff --git a/src/dashboardWebView/components/Media/FolderCreation.tsx b/src/dashboardWebView/components/Media/FolderCreation.tsx index 5b00293a..6516e896 100644 --- a/src/dashboardWebView/components/Media/FolderCreation.tsx +++ b/src/dashboardWebView/components/Media/FolderCreation.tsx @@ -91,8 +91,9 @@ export const FolderCreation: React.FunctionComponent = ( if (scripts.length > 0) { return ( -
+
{renderPostAssetsButton} + ({ @@ -103,6 +104,8 @@ export const FolderCreation: React.FunctionComponent = ( onClick={onFolderCreation} disabled={!settings?.initialized} /> + +
); }