enabled fix
This commit is contained in:
parent
3e61d938bc
commit
be1cc945a2
|
@ -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;
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue