Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: Fix hide avatars in side bar preference #15709

Merged
merged 1 commit into from
Oct 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/ui-account/client/accountPreferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ <h1>{{_ "Messages"}}</h1>
<div class="input-line double-col" id="sidebarHideAvatar">
<label class="setting-label">{{_ "Hide_Avatars_Sidebar"}}</label>
<div class="setting-field">
<label><input type="radio" name="sidebarHideAvatar" value="true" checked="{{checked 'hideAvatars' true}}"/> {{_ "True"}}</label>
<label><input type="radio" name="sidebarHideAvatar" value="false" checked="{{checked 'hideAvatars' false}}"/> {{_ "False"}}</label>
<label><input type="radio" name="sidebarHideAvatar" value="true" checked="{{checked 'sidebarHideAvatar' true}}"/> {{_ "True"}}</label>
<label><input type="radio" name="sidebarHideAvatar" value="false" checked="{{checked 'sidebarHideAvatar' false}}"/> {{_ "False"}}</label>
</div>
</div>
<div class="input-line double-col" id="messageViewMode">
Expand Down
2 changes: 1 addition & 1 deletion app/ui-account/client/accountPreferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Template.accountPreferences.onCreated(function() {
data.messageViewMode = parseInt($('#messageViewMode').find('select').val());
data.hideFlexTab = JSON.parse($('#hideFlexTab').find('input:checked').val());
data.hideAvatars = JSON.parse($('#hideAvatars').find('input:checked').val());
data.sidebarHideAvatars = JSON.parse($('#sidebarHideAvatars').find('input:checked').val());
data.sidebarHideAvatar = JSON.parse($('#sidebarHideAvatar').find('input:checked').val());
data.sendOnEnter = $('#sendOnEnter').find('select').val();
data.autoImageLoad = JSON.parse($('input[name=autoImageLoad]:checked').val());
data.emailNotificationMode = $('select[name=emailNotificationMode]').val();
Expand Down