Ensure site authorization toggle is saved (#842)

This commit is contained in:
Jaco
2021-09-27 16:33:33 +02:00
committed by GitHub
parent 0992b6c763
commit 6e0992ac46
2 changed files with 9 additions and 3 deletions
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## master
Changes:
- Ensure site authorization toggle is saved
## 0.40.3 Sep 18, 2021
**Important** Not published to the stores, aligns with latest released packages.
@@ -293,9 +293,8 @@ export default class State {
assert(entry, `The source ${url} is not known`);
const newAllowState = !entry.isAllowed;
this.#authUrls[url].isAllowed = newAllowState;
this.#authUrls[url].isAllowed = !entry.isAllowed;
this.saveCurrentAuthList();
return this.#authUrls;
}