FIX: send only one post request when changing topic notification level (#7254)

FIX: send only one post request when changing topic notification level (#7254)

diff --git a/app/assets/javascripts/select-kit/components/topic-notifications-options.js.es6 b/app/assets/javascripts/select-kit/components/topic-notifications-options.js.es6
index b15b688..5e04fe0 100644
--- a/app/assets/javascripts/select-kit/components/topic-notifications-options.js.es6
+++ b/app/assets/javascripts/select-kit/components/topic-notifications-options.js.es6
@@ -37,5 +37,7 @@ export default NotificationOptionsComponent.extend({
     if (value !== this.get("value")) {
       this.get("topic.details").updateNotifications(value);
     }
-  }
+  },
+
+  deselect() {}
 });

GitHub sha: 3aa32c31

1 Like