Committer week - Agent fixes and refactor (#5547)

* refactored job actions to wait for job objects to load

* sorted the jobs in descending order

* decreased steps table height in jobs dialog

* cannot open multiple instances of dialogs now

* fixed edit job not show up some times when re opening history page

* fix broken icon

* fix a bunch of stuff and refactored code

* added isopen prop to dialog
This commit is contained in:
Aditya Bist
2019-05-23 12:35:50 -07:00
committed by GitHub
parent aae1480e4f
commit 25c8f60e6e
9 changed files with 106 additions and 66 deletions

View File

@@ -219,8 +219,8 @@ export class AlertsViewComponent extends JobManagementView implements OnInit, On
'</tr></table>';
}
public openCreateAlertDialog() {
public async openCreateAlertDialog() {
let ownerUri: string = this._commonService.connectionManagementService.connectionInfo.ownerUri;
this._commandService.executeCommand('agent.openAlertDialog', ownerUri, null, null);
await this._commandService.executeCommand('agent.openAlertDialog', ownerUri, null, null);
}
}