mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:21:31 +00:00
Remove FSM trigger
This commit is contained in:
parent
d7853d7154
commit
614019fbff
@ -48,7 +48,6 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||
this.initCommandHandling();
|
||||
this.initDeploymentNotifications();
|
||||
this.sendReadyIfNeeded();
|
||||
this.triggerFirstFSMStepIfNeeded();
|
||||
}
|
||||
|
||||
initCommandHandling() {
|
||||
@ -71,17 +70,6 @@ export class DashboardComponent implements OnInit, OnDestroy {
|
||||
});
|
||||
}
|
||||
|
||||
triggerFirstFSMStepIfNeeded() {
|
||||
if (config.dashboard.triggerFirstFSMStep) {
|
||||
setTimeout(() => {
|
||||
this.webSocketService.sendJSON({
|
||||
'key': 'fsm.step',
|
||||
'trigger': config.dashboard.triggerFirstFSMStep
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
sendReadyIfNeeded() {
|
||||
if (config.dashboard.sendReadyAfterPageReload) {
|
||||
setTimeout(() => this.webSocketService.sendJSON({'key': 'frontend.ready'}));
|
||||
|
Loading…
Reference in New Issue
Block a user