| | |
| | | loading: true, |
| | | failed: false, |
| | | port: 8042, |
| | | showTestData: true, |
| | | webDevelopmentMode: false, |
| | | directoryItems: [], |
| | | redirect: false, |
| | |
| | | save() { |
| | | var config = { |
| | | port: this.state.port, |
| | | showTestData: this.state.showTestData, |
| | | webDevelopmentMode: this.state.webDevelopmentMode, |
| | | templatesDirs: [] |
| | | }; |
| | |
| | | |
| | | return ( |
| | | <form> |
| | | <FormLabelField label={<I18n name={'configuration.showTestData'}/>} fieldLength={2}> |
| | | <FormCheckbox checked={this.state.showTestData} |
| | | name="showTestData" |
| | | onChange={this.handleCheckboxChange}/> |
| | | </FormLabelField> |
| | | <FormLabelField> |
| | | <FormButton id={'clearAllCaches'} onClick={this.onClearAllCaches}> Clear all caches |
| | | </FormButton> |