UX: removes superfluous posters column header (#6765)

This commit is contained in:
Joffrey JAFFEUX 2018-12-13 21:29:00 +01:00 committed by GitHub
parent 60189e8c92
commit afdd244486
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ export default Ember.Object.extend({
return this.forceName;
}
return I18n.t(this.name);
return this.name ? I18n.t(this.name) : "";
}.property(),
sortIcon: function() {

View File

@ -7,7 +7,7 @@
{{/if}}
{{raw "topic-list-header-column" order='default' name=listTitle bulkSelectEnabled=bulkSelectEnabled showBulkToggle=toggleInTitle canBulkSelect=canBulkSelect}}
{{#if showPosters}}
{{raw "topic-list-header-column" order='posters' name='users'}}
{{raw "topic-list-header-column" order='posters'}}
{{/if}}
{{raw "topic-list-header-column" sortable=sortable number='true' order='posts' name='replies'}}
{{#if showParticipants}}