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 <anders@zulip.com>
  • Loading branch information
andersk committed Mar 22, 2023
1 parent 126f3b5 commit e155ad0
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 e155ad0

Please sign in to comment.