mirror of https://github.com/openspug/spug
Merge branch 'master' of github.com:openspug/spug
commit
9407c53bb3
|
@ -18,7 +18,7 @@ class AlarmSetting extends React.Component {
|
||||||
this.setting = JSON.parse(lds.get(store.settings, 'mail_service.value', "{}"));
|
this.setting = JSON.parse(lds.get(store.settings, 'mail_service.value', "{}"));
|
||||||
this.state = {
|
this.state = {
|
||||||
mode: this.setting['server'] === undefined ? '1' : '2',
|
mode: this.setting['server'] === undefined ? '1' : '2',
|
||||||
spug_key: lds.get(store.settings, 'spug_key.value')
|
spug_key: lds.get(store.settings, 'spug_key.value', "")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue