Don't overwrite state when setting inactive timeout

Using `#putState` here was clearing the other fields in the store.
feature/default_network_editable
Whymarrh Whitby 5 years ago committed by Mark Stacey
parent c6259f6eb5
commit 9e6d401c2f
  1. 2
      app/scripts/controllers/app-state.js

@ -45,7 +45,7 @@ class AppStateController {
* @private
*/
_setInactiveTimeout (timeoutMinutes) {
this.store.putState({
this.store.updateState({
timeoutMinutes,
})

Loading…
Cancel
Save