app: get config preferences and not plugins

This commit is contained in:
Guillermo Rauch 2016-07-07 13:48:55 -07:00
parent 29df9b277d
commit 1993ca576f

View file

@ -8,14 +8,14 @@ export default class Config extends React.Component {
constructor () {
super();
this.state = {
config: config.get()
config: config.getConfig()
};
this.onChange = this.onChange.bind(this);
}
onChange () {
new Notification('HyperTerm configuration reloaded!');
this.setState({ config: config.get() });
this.setState({ config: config.getConfig() });
}
componentDidMount () {