From be1cc945a2e9cb3c996f07be93a327c1ec399aea Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 27 Jun 2017 08:23:00 -0400 Subject: [PATCH] enabled fix --- src/app/settings/settingsTwoStepController.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/settings/settingsTwoStepController.js b/src/app/settings/settingsTwoStepController.js index 5dd1bc351f..fdebc22bf7 100644 --- a/src/app/settings/settingsTwoStepController.js +++ b/src/app/settings/settingsTwoStepController.js @@ -48,7 +48,10 @@ }); modal.result.then(function (enabled) { - provider.enabled = enabled; + if (enabled || enabled === false) { + // do not adjust when undefined or null + provider.enabled = enabled; + } }); };