feat: debug timeout option, translation support for many things and improve sliders

This commit is contained in:
David Ralph
2021-04-02 13:24:18 +01:00
parent 436dd884f0
commit 5947aa25fd
17 changed files with 108 additions and 53 deletions

View File

@@ -49,8 +49,8 @@ export default class OrderSettings extends React.PureComponent {
render() {
return (
<>
<h2>Order</h2>
<span className='modalLink' onClick={this.reset}>Reset</span>
<h2>{this.language.sections.order.title}</h2>
<span className='modalLink' onClick={this.reset}>{this.language.buttons.reset}</span>
<SortableContainer onSortEnd={this.onSortEnd} lockAxis='y' lockToContainerEdges disableAutoscroll>
{this.state.items.map((value, index) => (
<SortableItem key={`item-${value}`} index={index} value={value} />