mirror of https://github.com/zulip/zulip.git
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:
parent
f5f79048fe
commit
5d7da7e537
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue