mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 06:01:56 +00:00
Add support for stateless ProcessManagerService in webide
This commit is contained in:
parent
ffcc608a97
commit
ceabfe75bc
@ -46,7 +46,7 @@ export class WebideComponent implements OnInit {
|
|||||||
this.webSocketService.connect();
|
this.webSocketService.connect();
|
||||||
this.subscribeWS();
|
this.subscribeWS();
|
||||||
this.requestCode();
|
this.requestCode();
|
||||||
this.processManagerService.init('login');
|
this.processManagerService.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
subscribeWS() {
|
subscribeWS() {
|
||||||
@ -89,7 +89,7 @@ export class WebideComponent implements OnInit {
|
|||||||
'content': this.code
|
'content': this.code
|
||||||
});
|
});
|
||||||
this.saveButtonState = 'SAVING';
|
this.saveButtonState = 'SAVING';
|
||||||
this.processManagerService.restartProcess((event) => { console.log('CICÁK!!'); });
|
this.processManagerService.restartProcess('login', (event) => { console.log('CICÁK!!'); });
|
||||||
}
|
}
|
||||||
|
|
||||||
requestCode() {
|
requestCode() {
|
||||||
|
Loading…
Reference in New Issue
Block a user