settings_bots: Avoid Handlebars iteration with block parameters.

The fix at https://github.com/handlebars-lang/handlebars.js/pull/1855
is not released yet.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-03-22 00:52:15 -07:00 committed by Tim Abbott
parent f5f79048fe
commit 5d7da7e537
1 changed files with 3 additions and 3 deletions

View File

@ -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>