diff options
author | Benjamin Pasero <benjamin.pasero@microsoft.com> | 2021-06-03 09:49:30 +0300 |
---|---|---|
committer | Benjamin Pasero <benjamin.pasero@microsoft.com> | 2021-06-03 09:49:30 +0300 |
commit | dc4b317192d606fd244e6d7723b18249054ed13a (patch) | |
tree | 34d67b4adee5a398f05ad2ea5975335fbd4a188f /src/vs/workbench/contrib/extensions/electron-sandbox | |
parent | 73f3a69d81e3fae50b56718b5e97c19b193bacb9 (diff) |
dialogs - do not require `buttons` property
Diffstat (limited to 'src/vs/workbench/contrib/extensions/electron-sandbox')
-rw-r--r-- | src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts index 82b6883f9e5..0c5855b4e3b 100644 --- a/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts +++ b/src/vs/workbench/contrib/extensions/electron-sandbox/extensionsSlowActions.ts @@ -152,7 +152,7 @@ class ReportExtensionSlowAction extends Action { this._dialogService.show( Severity.Info, localize('attach.title', "Did you attach the CPU-Profile?"), - [localize('ok', 'OK')], + undefined, { detail: localize('attach.msg', "This is a reminder to make sure that you have not forgotten to attach '{0}' to the issue you have just created.", path) } ); } @@ -186,7 +186,7 @@ class ShowExtensionSlowAction extends Action { this._dialogService.show( Severity.Info, localize('attach.title', "Did you attach the CPU-Profile?"), - [localize('ok', 'OK')], + undefined, { detail: localize('attach.msg2', "This is a reminder to make sure that you have not forgotten to attach '{0}' to an existing performance issue.", path) } ); } |