Remove dead code related to the processmanager and message module

This commit is contained in:
R. Richard
2019-08-26 13:53:13 +02:00
committed by therealkrispet
parent f63cede5d5
commit f90907607d
6 changed files with 6 additions and 70 deletions
+4 -4
View File
@@ -99,11 +99,11 @@ export class IdeComponent implements OnInit {
this.setCodeState(CodeState.SAVED);
}
deployHandler(message: WebSocketMessage) {
if (message['status'] === 'success') {
this.setDeployButtonState(DeployButtonState.DEPLOYED);
} else if (message['status'] === 'error') {
deployHandler(message: DeployMessage) {
if ('error' in message) {
this.setDeployButtonState(DeployButtonState.FAILED);
} else {
this.setDeployButtonState(DeployButtonState.DEPLOYED);
}
this.deploymentNotificationService.deploying.next(false);
}