mirror of
https://github.com/prymitive/karma
synced 2026-05-13 03:56:59 +00:00
refactor(ui): split settings into dedicated classes
This commit is contained in:
@@ -20,7 +20,7 @@ const Configuration = observer(
|
||||
super(props);
|
||||
|
||||
this.config = observable({
|
||||
fetchInterval: toJS(props.settingsStore.fetchConfig.interval)
|
||||
fetchInterval: toJS(props.settingsStore.fetchConfig.config.interval)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ const Configuration = observer(
|
||||
onChangeComplete = action(value => {
|
||||
const { settingsStore } = this.props;
|
||||
|
||||
settingsStore.setFetchInterval(value);
|
||||
settingsStore.fetchConfig.setInterval(value);
|
||||
});
|
||||
|
||||
formatLabel(value) {
|
||||
|
||||
Reference in New Issue
Block a user