File tree 2 files changed +5
-1
lines changed
src/dashboardWebView/components/Media
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 13
13
### 🐞 Fixes
14
14
15
15
- Fix for media folder parsing on Windows
16
+ - Refresh button was not available on the media dashboard when having custom scripts defined
16
17
- [ #909 ] ( https://github.com/estruyf/vscode-front-matter/issues/909 ) : Schema fix for the view modes
17
18
- [ #913 ] ( https://github.com/estruyf/vscode-front-matter/issues/913 ) : Fix for relative media paths in page bundles
18
19
- [ #914 ] ( https://github.com/estruyf/vscode-front-matter/issues/914 ) : Fix sanitizing of default filenames with an ` _ ` in it
Original file line number Diff line number Diff line change @@ -91,8 +91,9 @@ export const FolderCreation: React.FunctionComponent<IFolderCreationProps> = (
91
91
92
92
if ( scripts . length > 0 ) {
93
93
return (
94
- < div className = "flex flex-1 justify-start" >
94
+ < div className = "flex flex-1 justify-start space-x-2 " >
95
95
{ renderPostAssetsButton }
96
+
96
97
< ChoiceButton
97
98
title = { l10n . t ( LocalizationKey . dashboardMediaFolderCreationFolderCreate ) }
98
99
choices = { scripts . map ( ( s ) => ( {
@@ -103,6 +104,8 @@ export const FolderCreation: React.FunctionComponent<IFolderCreationProps> = (
103
104
onClick = { onFolderCreation }
104
105
disabled = { ! settings ?. initialized }
105
106
/>
107
+
108
+ < RefreshDashboardData />
106
109
</ div >
107
110
) ;
108
111
}
You can’t perform that action at this time.
0 commit comments