1
0
mirror of https://github.com/flarum/core.git synced 2025-07-15 22:06:24 +02:00

Implement default route config setting

This commit is contained in:
Toby Zerner
2015-08-06 12:18:59 +09:30
parent c8084c3925
commit 80e13ae289
6 changed files with 27 additions and 14 deletions

View File

@ -82,7 +82,7 @@ export default class BasicsPage extends Component {
m.redraw(true);
this.$('.BasicsPage-homePage input').select();
}}/>
Custom <input className="FormControl" value={this.values.default_route()} onchange={m.withAttr('value', this.values.default_route)} style={this.values.default_route() !== '/all' ? 'margin-top: 5px' : 'display:none'}/>
Custom <input className="FormControl" value={this.values.default_route()} oninput={m.withAttr('value', this.values.default_route)} style={this.values.default_route() !== '/all' ? 'margin-top: 5px' : 'display:none'}/>
</label>
]
})}