DEV: prettier 2.2.1 (#11862)

This commit is contained in:
Joffrey JAFFEUX
2021-01-27 12:39:20 +01:00
committed by GitHub
parent 7be556fc19
commit c6a1042950
117 changed files with 2495 additions and 2433 deletions

View File

@@ -14,7 +14,7 @@ export default DiscourseRoute.extend({
Badge.findAll().then(function (badges) {
controller.set("badges", badges);
if (badges.length > 0) {
var grantableBadges = controller.get("grantableBadges");
let grantableBadges = controller.get("grantableBadges");
if (grantableBadges.length > 0) {
controller.set("selectedBadgeId", grantableBadges[0].get("id"));
}