mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 01:25:37 -05:00
Add onClosed event to ModelView dialogs (#17531)
* Add onClosed event to ModelView dialogs * Use defined type * Fix compile * fix tests * fix tests2 * Remove unused
This commit is contained in:
@@ -18,7 +18,7 @@ export class CustomDialogService {
|
||||
|
||||
constructor(@IInstantiationService private _instantiationService: IInstantiationService) { }
|
||||
|
||||
public showDialog(dialog: Dialog, dialogName?: string, options?: IModalOptions): void {
|
||||
public showDialog(dialog: Dialog, dialogName?: string, options?: IModalOptions): DialogModal {
|
||||
let name = dialogName ? dialogName : 'CustomDialog';
|
||||
|
||||
if (options && (options.dialogStyle === 'callout')) {
|
||||
@@ -30,6 +30,7 @@ export class CustomDialogService {
|
||||
this._dialogModals.set(dialog, dialogModal);
|
||||
dialogModal.render();
|
||||
dialogModal.open();
|
||||
return dialogModal;
|
||||
}
|
||||
|
||||
public showWizard(wizard: Wizard, options?: IModalOptions, source?: string): void {
|
||||
|
||||
Reference in New Issue
Block a user