mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
10.05.2019 db97ddd775c7c465333cae390a9d8d28dd535066
Color of test button depends on repo failure.
1 files modified
2 ■■■ changed files
borgbutler-webapp/src/components/views/repos/RepoConfigPanel.jsx 2 ●●● patch | view | raw | blame | history
borgbutler-webapp/src/components/views/repos/RepoConfigPanel.jsx
@@ -190,7 +190,7 @@
                        <FormButton onClick={this.onCancel}
                                    hintKey="configuration.cancel.hint"><I18n name={'common.cancel'}/>
                        </FormButton>
                        <FormButton onClick={this.onTest} disabled={this.state.testStatus === 'fetching'} bsStyle="info"
                        <FormButton onClick={this.onTest} disabled={this.state.testStatus === 'fetching'} bsStyle={this.props.repoError ? 'danger' :'info'}
                                    hint={'Tries to connect to the repo and to get info from.'}>Test
                        </FormButton>
                        <FormButton onClick={this.onSave} bsStyle="primary"