We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88ae96c commit 8a6551fCopy full SHA for 8a6551f
packages/foam-vscode/src/features/panels/dataviz.ts
@@ -39,7 +39,7 @@ export default async function activate(
39
});
40
41
vscode.window.onDidChangeActiveTextEditor(e => {
42
- if (e?.document?.uri?.scheme === 'file') {
+ if (e?.document?.uri?.scheme !== 'untitled') {
43
const note = foam.workspace.get(fromVsCodeUri(e.document.uri));
44
if (isSome(note)) {
45
panel.webview.postMessage({
0 commit comments