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