Skip to content

Commit

Permalink
select only 5 questions
Browse files Browse the repository at this point in the history
  • Loading branch information
matograine committed Nov 20, 2021
1 parent bf2c695 commit 0f79e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/controllers/wot-controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@ function WotCertificationsViewController($scope, $rootScope, $controller, csSett
return array;
}

return shuffle(original_cert_checklist);
return shuffle(original_cert_checklist).slice(0, 5);
}
$scope.cert_checklist = $scope.prepare_cert_checklist();

Expand Down

0 comments on commit 0f79e0b

Please sign in to comment.