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.

notification_settings: Disable push notification opts when not configured.

Sayam Samale09761c0f9c8
diff --git a/web/templates/settings/notification_settings.hbs b/web/templates/settings/notification_settings.hbs
index 94fc5a8a1d9..8bb00b18e73 100644
--- a/web/templates/settings/notification_settings.hbs
+++ b/web/templates/settings/notification_settings.hbs
@@ -149,6 +149,7 @@
{{> settings_checkbox
setting_name=this
is_checked=(lookup ../settings_object this)
+ is_disabled=(lookup ../show_push_notifications_tooltip this)
label=(lookup ../settings_label this)
show_push_notifications_tooltip=(lookup ../show_push_notifications_tooltip this)
prefix=../prefix}}