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 * @private
*/ */
_setInactiveTimeout (timeoutMinutes) { _setInactiveTimeout (timeoutMinutes) {
this.store.putState({ this.store.updateState({
timeoutMinutes, timeoutMinutes,
}) })

Loading…
Cancel
Save