mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:31:33 +00:00
Replace deprecated trigger API call
This commit is contained in:
parent
ec289081c8
commit
116401fe80
@ -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
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user