mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
Fix error in client create view
This commit is contained in:
parent
bc700df938
commit
13065451f5
@ -1 +1 @@
|
|||||||
__version__ = "0.1.0.dev21"
|
__version__ = "0.1.0.dev22"
|
||||||
|
@ -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 }) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user