[DE] Fix Bug 51768

This commit is contained in:
ShimaginAndrey 2021-08-06 12:29:19 +03:00
parent b16e82ea2e
commit 2839e4ffd0

View file

@ -39,8 +39,8 @@ class ApplicationSettingsController extends Component {
this.props.storeAppOptions.changeCanViewComments(value); this.props.storeAppOptions.changeCanViewComments(value);
if (!value) { if (!value) {
api.asc_hideComments();
this.switchDisplayResolved(value); this.switchDisplayResolved(value);
api.asc_hideComments();
LocalStorage.setBool("de-settings-resolvedcomment", false); LocalStorage.setBool("de-settings-resolvedcomment", false);
} else { } else {
const resolved = LocalStorage.getBool("de-settings-resolvedcomment"); const resolved = LocalStorage.getBool("de-settings-resolvedcomment");