mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-01 22:11:16 +00:00
ESLint
This commit is contained in:
parent
db5e7a886a
commit
8712b2fdab
1 changed files with 2 additions and 0 deletions
|
@ -127,6 +127,7 @@ let BookWyrm = new class {
|
|||
// This concerns 'review', 'quotation', 'comment'
|
||||
count = allowedStatusTypes.reduce(function(prev, currentKey) {
|
||||
const currentValue = count_by_type[currentKey] | 0;
|
||||
|
||||
return prev + currentValue;
|
||||
}, 0);
|
||||
|
||||
|
@ -143,6 +144,7 @@ let BookWyrm = new class {
|
|||
function(prev, currentKey) {
|
||||
const currentValue =
|
||||
count_by_everything_else[currentKey] | 0
|
||||
|
||||
return prev + currentValue;
|
||||
},
|
||||
count
|
||||
|
|
Loading…
Reference in a new issue