#279 - Fix for content dashboard updates

This commit is contained in:
Elio Struyf
2022-03-07 09:20:24 +01:00
parent 9fbf962e9f
commit 3ca6f32628
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -13,6 +13,10 @@
- [#272](https://github.com/estruyf/vscode-front-matter/issues/272): New slide over panel for showing details of media files
- [#276](https://github.com/estruyf/vscode-front-matter/issues/276): Add a Front Matter walkthrough for VS Code
### 🐞 Fixes
- [#279](https://github.com/estruyf/vscode-front-matter/issues/279): Fix for content dashboard updates for all registered types
## [6.1.1] - 2022-03-02
### 🐞 Fixes
+2 -2
View File
@@ -14,7 +14,7 @@ import { TagType } from './panelWebView/TagType';
import { ExplorerView } from './explorerView/ExplorerView';
import { Extension } from './helpers/Extension';
import { DashboardData } from './models/DashboardData';
import { Settings as SettingsHelper } from './helpers';
import { ArticleHelper, Settings as SettingsHelper } from './helpers';
import { Content } from './commands/Content';
import ContentProvider from './providers/ContentProvider';
import { Wysiwyg } from './commands/Wysiwyg';
@@ -199,7 +199,7 @@ export async function activate(context: vscode.ExtensionContext) {
// Listener for file saves
subscriptions.push(vscode.workspace.onDidSaveTextDocument((doc: vscode.TextDocument) => {
if (doc.languageId === 'markdown') {
if (ArticleHelper.isMarkdownFile(doc)) {
// Optimize the list of recently changed files
DataListener.getFoldersAndFiles();
}