mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 03: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.subscribeWS();
|
||||
this.requestCode();
|
||||
this.processManagerService.init('login');
|
||||
this.processManagerService.init();
|
||||
}
|
||||
|
||||
subscribeWS() {
|
||||
@ -89,7 +89,7 @@ export class WebideComponent implements OnInit {
|
||||
'content': this.code
|
||||
});
|
||||
this.saveButtonState = 'SAVING';
|
||||
this.processManagerService.restartProcess((event) => { console.log('CICÁK!!'); });
|
||||
this.processManagerService.restartProcess('login', (event) => { console.log('CICÁK!!'); });
|
||||
}
|
||||
|
||||
requestCode() {
|
||||
|
Loading…
Reference in New Issue
Block a user