Agent: Updated Alerts dialog UI (#1874)

* finished alert dialog UI

* removed unused import
This commit is contained in:
Aditya Bist
2018-07-10 14:21:58 -07:00
committed by GitHub
parent 0b1e9c7c66
commit 4eea24997f
5 changed files with 329 additions and 132 deletions

View File

@@ -39,8 +39,8 @@ export class MainController {
let dialog = new PickScheduleDialog(ownerUri);
dialog.showDialog();
});
vscode.commands.registerCommand('agent.openAlertDialog', (ownerUri: string, alertInfo: sqlops.AgentAlertInfo) => {
let dialog = new AlertDialog(ownerUri, alertInfo);
vscode.commands.registerCommand('agent.openAlertDialog', (ownerUri: string, alertInfo: sqlops.AgentAlertInfo, jobs: string[]) => {
let dialog = new AlertDialog(ownerUri, alertInfo, jobs);
dialog.openDialog();
});
vscode.commands.registerCommand('agent.openOperatorDialog', (ownerUri: string, operatorInfo: sqlops.AgentOperatorInfo) => {