File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ export async function activate(context: vscode.ExtensionContext) {
79
79
}
80
80
} ) ) ;
81
81
82
- if ( vscode . workspace . getConfiguration ( 'gitpod' ) . get < boolean > ( 'enableReleaseNotes ' ) ) {
82
+ if ( vscode . workspace . getConfiguration ( 'gitpod' ) . get < boolean > ( 'showReleaseNotes ' ) ) {
83
83
const lastRead = context . globalState . get < string > ( ReleaseNotes . RELEASE_NOTES_LAST_READ_KEY ) ;
84
84
logger . info ( `Last read release notes: ${ lastRead } ` ) ;
85
85
context . subscriptions . push ( new ReleaseNotes ( context ) ) ;
Original file line number Diff line number Diff line change @@ -125,6 +125,11 @@ export class ReleaseNotes extends Disposable {
125
125
}
126
126
127
127
const html = await vscode . commands . executeCommand < string > ( 'markdown.api.render' , mdContent ) ;
128
+
129
+ if ( ! this . panel ?. visible ) {
130
+ return ;
131
+ }
132
+
128
133
this . panel . webview . html = `<!DOCTYPE html>
129
134
<html lang="en">
130
135
<head>
You can’t perform that action at this time.
0 commit comments