mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-06-28 14:01:57 +02:00
#268 - Fix for panel not showing up after renaming
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
- [#247](https://github.com/estruyf/vscode-front-matter/issues/247): Fix the front matter highlighting in markdown documents
|
||||
- [#261](https://github.com/estruyf/vscode-front-matter/issues/261): Fix to allow that tag and category fields can be renamed
|
||||
- [#264](https://github.com/estruyf/vscode-front-matter/issues/264): Fix for Windows paths on content folder registration
|
||||
- [#268](https://github.com/estruyf/vscode-front-matter/issues/268): Fix for panel which only shows loading indicator
|
||||
|
||||
## [6.0.0] - 2022-01-25 - [Release Notes](https://beta.frontmatter.codes/updates/v6.0.0)
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ export class ExplorerView implements WebviewViewProvider, Disposable {
|
||||
webviewView.onDidChangeVisibility(() => {
|
||||
if (this.visible) {
|
||||
Telemetry.send(TelemetryEvent.openExplorerView);
|
||||
// this.getFileData();
|
||||
DataListener.getFileData();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -48,8 +48,14 @@ export default function useMessages() {
|
||||
|
||||
useEffect(() => {
|
||||
setLoading(true);
|
||||
|
||||
// Show what you got after 5 seconds
|
||||
window.setTimeout(() => {
|
||||
setLoading(false);
|
||||
}, 5000);
|
||||
|
||||
vscode.postMessage({ command: CommandToCode.getData });
|
||||
}, ['']);
|
||||
}, []);
|
||||
|
||||
return {
|
||||
metadata,
|
||||
|
||||
Reference in New Issue
Block a user