Merge pull request #347 from estruyf/dev

This commit is contained in:
Elio Struyf
2022-06-01 12:01:18 +02:00
committed by GitHub
4 changed files with 10 additions and 3 deletions
+7
View File
@@ -1,5 +1,12 @@
# Change Log
## [7.3.2] - 2022-06-01
### 🐞 Fixes
- [#346](https://github.com/estruyf/vscode-front-matter/issues/346): Fix media dashboard refresh action
## [7.3.1] - 2022-05-26
### 🐞 Fixes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "vscode-front-matter-beta",
"version": "7.3.1",
"version": "7.3.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
+1 -1
View File
@@ -3,7 +3,7 @@
"displayName": "Front Matter",
"description": "Front Matter is a CMS that runs within Visual Studio Code. It gives you the power and control of a full-blown CMS while also providing you the flexibility and speed of the static site generator of your choice like: Hugo, Jekyll, Hexo, NextJs, Gatsby, and many more...",
"icon": "assets/frontmatter-teal-128x128.png",
"version": "7.3.1",
"version": "7.3.2",
"preview": false,
"publisher": "eliostruyf",
"galleryBanner": {
+1 -1
View File
@@ -65,7 +65,7 @@ export class MediaHelpers {
relSelectedFolderPath = selectedFolder.replace(parsedPath, '');
}
if (relSelectedFolderPath.startsWith('/')) {
if (relSelectedFolderPath && relSelectedFolderPath.startsWith('/')) {
relSelectedFolderPath = relSelectedFolderPath.substring(1);
}