Skip to content

Commit e7f9d0c

Browse files
committed
delete duplicate code & whitespace
1 parent 924189f commit e7f9d0c

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

app/controllers/category/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ export default Controller.extend(PaginationMixin, {
1717
currentSortBy: computed('sort', function() {
1818
if (this.get('sort') === 'downloads') {
1919
return 'All-Time Downloads';
20-
} else if (this.get('sort') === 'recent-downloads') {
21-
return 'Recent Downloads';
2220
} else if (this.get('sort') === 'alpha') {
2321
return 'Alphabetical';
2422
} else {

app/controllers/keyword/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ export default Controller.extend(PaginationMixin, {
1414
currentSortBy: computed('sort', function() {
1515
if (this.get('sort') === 'downloads') {
1616
return 'All-Time Downloads';
17-
} else if (this.get('sort') === 'recent-downloads') {
18-
return 'Recent Downloads';
1917
} else if (this.get('sort') === 'alpha') {
2018
return 'Alphabetical';
2119
} else {

app/styles/crate.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@
144144
.recent-downloads {
145145
@include display-flex;
146146
@include align-items(center);
147-
148147
}
149148

150149
.rev-dep-downloads {padding-left: 7px}

0 commit comments

Comments
 (0)