mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
Deprecation: Change {{#each x in y}}
to {{#each y as |x|}}
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
{{#each option in options}}
|
||||
{{#each options as |option|}}
|
||||
<li>
|
||||
<div class="option">
|
||||
<p>
|
||||
|
@ -8,7 +8,7 @@
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<ul>
|
||||
{{#each option in poll.options}}
|
||||
{{#each poll.options as |option|}}
|
||||
{{poll-option option=option toggle="toggleOption"}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user