diff --git a/app/assets/javascripts/admin/templates/user_badges.hbs b/app/assets/javascripts/admin/templates/user_badges.hbs index 90e208925..393695e84 100644 --- a/app/assets/javascripts/admin/templates/user_badges.hbs +++ b/app/assets/javascripts/admin/templates/user_badges.hbs @@ -35,7 +35,7 @@ - {{#each userBadge in groupedBadges}} + {{#each groupedBadges as |userBadge|}} {{user-badge badge=userBadge.badge count=userBadge.count}} diff --git a/app/assets/javascripts/discourse/templates/components/navigation-bar.hbs b/app/assets/javascripts/discourse/templates/components/navigation-bar.hbs index 078b8b931..e24d25bfb 100644 --- a/app/assets/javascripts/discourse/templates/components/navigation-bar.hbs +++ b/app/assets/javascripts/discourse/templates/components/navigation-bar.hbs @@ -1,4 +1,4 @@ -{{#each navItem in navItems}} +{{#each navItems as |navItem|}} {{navigation-item content=navItem filterMode=filterMode}} {{/each}} {{custom-html "extraNavItem"}} diff --git a/app/assets/javascripts/discourse/templates/exception.hbs b/app/assets/javascripts/discourse/templates/exception.hbs index 34f2234dc..69537d6d7 100644 --- a/app/assets/javascripts/discourse/templates/exception.hbs +++ b/app/assets/javascripts/discourse/templates/exception.hbs @@ -13,7 +13,7 @@ {{desc}}
- {{#each buttonData in enabledButtons}} + {{#each enabledButtons as |buttonData|}} {{d-button icon=buttonData.icon action=buttonData.action label=buttonData.key class=buttonData.classes}} {{/each}} {{conditional-loading-spinner condition=loading}} diff --git a/app/assets/javascripts/discourse/templates/list/action-list.raw.hbs b/app/assets/javascripts/discourse/templates/list/action-list.raw.hbs index a859ec7e3..428a5c53a 100644 --- a/app/assets/javascripts/discourse/templates/list/action-list.raw.hbs +++ b/app/assets/javascripts/discourse/templates/list/action-list.raw.hbs @@ -1,8 +1,8 @@ {{#if postNumbers}}
- {{#each postNumber in postNumbers}} - #{{postNumber}} + {{#each postNumbers as |postNumber|}} + #{{postNumber}} {{/each}}
{{/if}} diff --git a/app/assets/javascripts/discourse/templates/mobile/components/navigation-bar.hbs b/app/assets/javascripts/discourse/templates/mobile/components/navigation-bar.hbs index 8f366864e..456db2abc 100644 --- a/app/assets/javascripts/discourse/templates/mobile/components/navigation-bar.hbs +++ b/app/assets/javascripts/discourse/templates/mobile/components/navigation-bar.hbs @@ -6,7 +6,7 @@ {{#if expanded}}