Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

dropdown_list_widget: Properly handle reset button text.

aryanshridhar00c493a75add
diff --git a/static/templates/settings/dropdown_list_widget.hbs b/static/templates/settings/dropdown_list_widget.hbs
index 12096f8e1fb..db1a3ace36e 100644
--- a/static/templates/settings/dropdown_list_widget.hbs
+++ b/static/templates/settings/dropdown_list_widget.hbs
@@ -18,7 +18,9 @@
</div>
</ul>
</span>
+ {{#if reset_button_text}}
<button class="button small dropdown_list_reset_button">
<a>{{reset_button_text}}</a>
</button>
+ {{/if}}
</div>