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.

bot_avatar_row: Remove ".bot_error" element.

Sahil Batra316248308aa6
diff --git a/static/js/settings_bots.js b/static/js/settings_bots.js
index 453458343c3..564440f1dd1 100644
--- a/static/js/settings_bots.js
+++ b/static/js/settings_bots.js
@@ -28,7 +28,6 @@ const EMBEDDED_BOT_TYPE = "4";
export function hide_errors() {
$("#bot_table_error").hide();
- $(".bot_error").hide();
}
const focus_tab = {
diff --git a/static/styles/settings.css b/static/styles/settings.css
index c1ce87b82d3..3f89484c106 100644
--- a/static/styles/settings.css
+++ b/static/styles/settings.css
@@ -840,11 +840,6 @@ input[type="checkbox"] {
}
}
-.bot_error {
- margin-top: 10px;
- margin-bottom: 0 !important;
-}
-
#bots_lists_navbar .active a {
background-color: hsl(0, 0%, 98%);
}
diff --git a/static/templates/settings/bot_avatar_row.hbs b/static/templates/settings/bot_avatar_row.hbs
index 2e92f8c6be1..8a74f61e049 100644
--- a/static/templates/settings/bot_avatar_row.hbs
+++ b/static/templates/settings/bot_avatar_row.hbs
@@ -48,6 +48,5 @@
{{else}}
<button class="button round btn-warning reactivate_bot" title="{{t 'Reactivate bot' }}" data-user-id="{{user_id}}">{{t "Reactivate bot" }}</button>
{{/if}}
- <div class="bot_error alert alert-error hide"></div>
</div>
</li>