1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-26 17:08:33 +01:00

enabled fix

This commit is contained in:
Kyle Spearrin 2017-06-27 08:23:00 -04:00
parent 3e61d938bc
commit be1cc945a2

View File

@ -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;
}
});
};