mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-27 17:18:04 +01:00
enabled fix
This commit is contained in:
parent
3e61d938bc
commit
be1cc945a2
@ -48,7 +48,10 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
modal.result.then(function (enabled) {
|
modal.result.then(function (enabled) {
|
||||||
provider.enabled = enabled;
|
if (enabled || enabled === false) {
|
||||||
|
// do not adjust when undefined or null
|
||||||
|
provider.enabled = enabled;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user