mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 05:12:54 +00:00 
			
		
		
		
	Replace deprecated trigger API call
This commit is contained in:
		@@ -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
 | 
			
		||||
          }
 | 
			
		||||
        });
 | 
			
		||||
      });
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user