From 4c1aac0a48969c9bf412fe86be76ff72ed7bc047 Mon Sep 17 00:00:00 2001 From: jessop Date: Fri, 21 Feb 2020 17:28:45 -0500 Subject: [PATCH] do not apply daemonSettings that are null --- ui/redux/actions/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/redux/actions/app.js b/ui/redux/actions/app.js index 5ac5c0d40..90e68d3ac 100644 --- a/ui/redux/actions/app.js +++ b/ui/redux/actions/app.js @@ -485,7 +485,7 @@ export function doGetAndPopulatePreferences() { // @if TARGET='app' const { settings, sharing_3P: sharing3P } = savedPreferences.value; Object.entries(settings).forEach(([key, val]) => { - if (daemonSettings[key] !== val) { + if (val !== null && daemonSettings[key] !== val) { dispatch(doSetDaemonSetting(key, val, true)); } });