Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Pasero <benjamin.pasero@microsoft.com>2021-06-03 09:49:30 +0300
committerBenjamin Pasero <benjamin.pasero@microsoft.com>2021-06-03 09:49:30 +0300
commitdc4b317192d606fd244e6d7723b18249054ed13a (patch)
tree34d67b4adee5a398f05ad2ea5975335fbd4a188f /src/vs/workbench/contrib/extensions/electron-sandbox
parent73f3a69d81e3fae50b56718b5e97c19b193bacb9 (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.ts4
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) }
);
}