提交 18f72715 编写于 作者: B Benjamin Pasero

💄

上级 4302deb9
......@@ -55,7 +55,6 @@ export class NotificationService extends Disposable implements INotificationServ
}
prompt(severity: Severity, message: string, choices: IPromptChoice[], onCancel?: () => void): INotificationHandle {
let handle: INotificationHandle;
// Convert choices into primary/secondary actions
const actions: INotificationActions = { primary: [], secondary: [] };
......@@ -69,7 +68,7 @@ export class NotificationService extends Disposable implements INotificationServ
});
// Show notification with actions
handle = this.notify({ severity, message, actions });
const handle = this.notify({ severity, message, actions });
once(handle.onDidClose)(() => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册