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.

bots: Do not allow to remove owner from edit bot form in personal settings.

Sahil Batra2c664a85fbed
diff --git a/static/templates/settings/edit_bot.hbs b/static/templates/settings/edit_bot.hbs
index bf4336a95fd..95fd0e03c7a 100644
--- a/static/templates/settings/edit_bot.hbs
+++ b/static/templates/settings/edit_bot.hbs
@@ -11,8 +11,7 @@
<label>{{t "Owner" }}</label>
{{> dropdown_list_widget
widget_name="bot_owner"
- list_placeholder=(t 'Filter users')
- reset_button_text=(t '[Remove owner]')}}
+ list_placeholder=(t 'Filter users')}}
</div>
<div class="edit-bot-name">
<label for="edit_bot_name">{{t "Full name" }}</label>