We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2480da8 commit abc8402Copy full SHA for abc8402
vscode/client/extension.ts
@@ -142,16 +142,17 @@ async function displayUpdatedNotification(context: ExtensionContext) {
142
return
143
}
144
145
- const selection = await window.showInformationMessage(
+ window.showInformationMessage(
146
"The Odoo extension has been updated.",
147
"Show changelog",
148
"Dismiss"
149
- )
150
- switch (selection) {
151
- case "Show changelog":
152
- ChangelogWebview.render(context);
153
- break;
154
- }
+ ).then(selection => {
+ switch (selection) {
+ case "Show changelog":
+ ChangelogWebview.render(context);
+ break;
+ }
155
+ });
156
157
158
function updateLastRecordedVersion(context: ExtensionContext) {
0 commit comments