Skip to content

Commit

Permalink
settings_bots: Avoid Handlebars iteration with block parameters.
Browse files Browse the repository at this point in the history
The fix at handlebars-lang/handlebars.js#1855
is not released yet.

Signed-off-by: Anders Kaseorg <[email protected]>
  • Loading branch information
andersk authored and sbansal1999 committed Apr 1, 2023
1 parent fdbfbcf commit d59e8e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/templates/settings/add_new_bot_form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
</div>
</div>
<div id="config_inputbox">
{{#each realm_embedded_bots as |bot index|}}
{{#each bot.config as |config_value config_key|}}
{{> ../embedded_bot_config_item botname=bot.name key=config_key value=config_value}}
{{#each realm_embedded_bots}}
{{#each config}}
{{> ../embedded_bot_config_item botname=../name key=@key value=this}}
{{/each}}
{{/each}}
</div>
Expand Down

0 comments on commit d59e8e2

Please sign in to comment.