Add support for protocol v1 (JD 2016-2019)
This commit is contained in:
		
							parent
							
								
									d84ad34434
								
							
						
					
					
						commit
						38badd22b1
					
				
					 4 changed files with 51 additions and 16 deletions
				
			
		|  | @ -138,7 +138,8 @@ class PrivateIpAddress extends Component { | |||
|     } | ||||
| 
 | ||||
|     componentDidMount() { | ||||
|         window.mitty.emit('update_addr', this.state.host_ip_addr) | ||||
|         let addr = this.props.pairing_method == PairingMethod.DEFAULT ? this.state.host_ip_addr : this.state.console_ip_addr | ||||
|         window.mitty.emit('update_addr', addr) | ||||
|     } | ||||
| 
 | ||||
|     render(props, state) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue