mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 02:29:59 +00:00
Add options to switch bridge backup WebSocket server port
This commit is contained in:
@@ -171,9 +171,6 @@ class OptionsApp extends Component<{}, OptionsAppState> {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Bridge info={ this.state.bridgeInfo }
|
||||
loading={ this.state.bridgeLoading } />
|
||||
|
||||
<form id="form" ref={ form => { this.form = form; }}
|
||||
onSubmit={ this.handleFormSubmit }
|
||||
onChange={ this.handleFormChange }>
|
||||
@@ -415,6 +412,12 @@ class OptionsApp extends Component<{}, OptionsAppState> {
|
||||
{ _("optionsSave") }
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{ // Workaround for form default button }
|
||||
<Bridge info={ this.state.bridgeInfo }
|
||||
loading={ this.state.bridgeLoading }
|
||||
options={ this.state.options }
|
||||
onChange={ this.handleInputChange } /> }
|
||||
</form>
|
||||
|
||||
<details className="about">
|
||||
|
||||
Reference in New Issue
Block a user