Fix error in client create view

This commit is contained in:
Tulir Asokan 2019-07-21 18:56:05 +03:00
parent bc700df938
commit 13065451f5
2 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
__version__ = "0.1.0.dev21" __version__ = "0.1.0.dev22"

View File

@ -230,11 +230,11 @@ class Dashboard extends Component {
<Instance onChange={newEntry => this.add("instances", newEntry)} <Instance onChange={newEntry => this.add("instances", newEntry)}
entry={{}} ctx={this.state}/>}/> entry={{}} ctx={this.state}/>}/>
<Route path="/new/client" render={() => <Route path="/new/client" render={() =>
<Client entry={{}} onChange={newEntry => <Client onChange={newEntry => this.add("clients", newEntry)}
this.add("clients", newEntry)}/>}/> entry={{}} ctx={this.state}/>}/>
<Route path="/new/plugin" render={() => <Route path="/new/plugin" render={() =>
<Plugin entry={{}} onChange={newEntry => <Plugin onChange={newEntry => this.add("plugins", newEntry)}
this.add("plugins", newEntry)}/>}/> entry={{}} ctx={this.state}/>}/>
<Route path="/instance/:id" render={({ match }) => <Route path="/instance/:id" render={({ match }) =>
this.renderView("instances", Instance, match.params.id)}/> this.renderView("instances", Instance, match.params.id)}/>
<Route path="/client/:id" render={({ match }) => <Route path="/client/:id" render={({ match }) =>