Save settings resolvedcomment
This commit is contained in:
parent
ce9c49beaf
commit
1e0f45842d
|
@ -497,7 +497,7 @@ class ViewCommentsController extends Component {
|
||||||
api.asc_showComments(this.props.storeApplicationSettings.isResolvedComments);
|
api.asc_showComments(this.props.storeApplicationSettings.isResolvedComments);
|
||||||
api.asc_changeComment(comment.uid, ascComment);
|
api.asc_changeComment(comment.uid, ascComment);
|
||||||
|
|
||||||
if(this.props.storeApplicationSettings.isResolvedComments) {
|
if(!this.props.storeApplicationSettings.isResolvedComments) {
|
||||||
this.closeViewCurComments();
|
this.closeViewCurComments();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,6 +54,7 @@ export class storeApplicationSettings {
|
||||||
const api = Common.EditorApi.get();
|
const api = Common.EditorApi.get();
|
||||||
api.asc_showComments(value);
|
api.asc_showComments(value);
|
||||||
this.isResolvedComments = value;
|
this.isResolvedComments = value;
|
||||||
|
LocalStorage.setBool("de-settings-resolvedcomment", value);
|
||||||
}
|
}
|
||||||
|
|
||||||
changeMacrosSettings(value) {
|
changeMacrosSettings(value) {
|
||||||
|
|
|
@ -111,6 +111,7 @@ export class storeApplicationSettings {
|
||||||
const api = Common.EditorApi.get();
|
const api = Common.EditorApi.get();
|
||||||
api.asc_showComments(value);
|
api.asc_showComments(value);
|
||||||
this.isResolvedComments = value;
|
this.isResolvedComments = value;
|
||||||
|
LocalStorage.setBool("sse-settings-resolvedcomment", value);
|
||||||
}
|
}
|
||||||
|
|
||||||
changeRefStyle(value) {
|
changeRefStyle(value) {
|
||||||
|
|
Loading…
Reference in a new issue