mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
FIX: edit history user setting was appearing
This commit is contained in:
parent
53af2abb20
commit
bbbca820d8
2 changed files with 2 additions and 2 deletions
|
@ -213,7 +213,7 @@ Discourse.User = Discourse.Model.extend({
|
|||
data[s + '_category_ids'] = cats;
|
||||
});
|
||||
|
||||
if (!Discourse.SiteSettings.edit_history_available_to_public) {
|
||||
if (!Discourse.SiteSettings.edit_history_visible_to_public) {
|
||||
data['edit_history_public'] = this.get('edit_history_public');
|
||||
}
|
||||
|
||||
|
|
|
@ -167,7 +167,7 @@
|
|||
{{preference-checkbox labelKey="user.enable_quoting" checked=enable_quoting}}
|
||||
{{preference-checkbox labelKey="user.dynamic_favicon" checked=dynamic_favicon}}
|
||||
{{preference-checkbox labelKey="user.disable_jump_reply" checked=disable_jump_reply}}
|
||||
{{#unless Discourse.SiteSettings.edit_history_available_to_public}}
|
||||
{{#unless Discourse.SiteSettings.edit_history_visible_to_public}}
|
||||
{{preference-checkbox labelKey="user.edit_history_public" checked=edit_history_public}}
|
||||
{{/unless}}
|
||||
{{plugin-outlet "user_custom_preferences"}}
|
||||
|
|
Loading…
Reference in a new issue