ESlint indent

This commit is contained in:
Peter Jaszkowiak
2017-02-18 02:38:03 -07:00
parent 3b0dd2d1ef
commit 1493afee2a
43 changed files with 557 additions and 556 deletions

View File

@@ -121,10 +121,10 @@ module.exports = function (Topics) {
return false;
}
switch (filter) {
case 'new':
return !userRead[recentTopic.value];
default:
return !userRead[recentTopic.value] || recentTopic.score > userRead[recentTopic.value];
case 'new':
return !userRead[recentTopic.value];
default:
return !userRead[recentTopic.value] || recentTopic.score > userRead[recentTopic.value];
}
}).map(function (topic) {
return topic.value;