Remove FSM trigger

This commit is contained in:
R. Richard 2019-08-15 15:45:25 +02:00
parent d7853d7154
commit 614019fbff
1 changed files with 0 additions and 12 deletions

View File

@ -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'}));