mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 01:02:54 +00:00 
			
		
		
		
	Rename variable for consistency
This commit is contained in:
		@@ -13,10 +13,10 @@ export class FSMUpdateService {
 | 
			
		||||
  public current_state: string;
 | 
			
		||||
  public valid_transitions: object;
 | 
			
		||||
 | 
			
		||||
  constructor(private websocketservice: WebSocketService) {}
 | 
			
		||||
  constructor(private websocketService: WebSocketService) {}
 | 
			
		||||
 | 
			
		||||
  public init(): void {
 | 
			
		||||
    this.websocketservice.observeAnchor<FSMUpdate>('FSMUpdate').subscribe((event) => {
 | 
			
		||||
    this.websocketService.observeAnchor<FSMUpdate>('FSMUpdate').subscribe((event) => {
 | 
			
		||||
      this.current_state = event.data.current_state;
 | 
			
		||||
      this.valid_transitions = event.data.valid_transitions;
 | 
			
		||||
    });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user