We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 546bbd8 commit a1eacf4Copy full SHA for a1eacf4
app/controllers/me/crates.js
@@ -15,6 +15,12 @@ export default Controller.extend(PaginationMixin, {
15
totalItems: readOnly('model.meta.total'),
16
17
currentSortBy: computed('sort', function() {
18
- return (this.get('sort') === 'downloads') ? 'Downloads' : 'Alphabetical';
+ if (this.get('sort') === 'downloads') {
19
+ return 'All-Time Downloads';
20
+ } else if (this.get('sort') === 'recent-downloads') {
21
+ return 'Recent Downloads';
22
+ } else {
23
+ return 'Alphabetical';
24
+ }
25
}),
26
});
0 commit comments