Replace deprecated trigger API call

This commit is contained in:
Kristóf Tóth 2019-06-25 11:29:32 +02:00
parent ec289081c8
commit 116401fe80

View File

@ -80,8 +80,11 @@ export class DashboardComponent implements OnInit, OnDestroy {
if (config.dashboard.triggerFirstFSMStep) {
setTimeout(() => {
this.webSocketService.sendJSON({
'key': '',
'trigger': config.dashboard.triggerFirstFSMStep
'key': 'fsm',
'data': {
'command': 'trigger',
'value': config.dashboard.triggerFirstFSMStep
}
});
});
}