DEV: Remove unused lines of code.

DEV: Remove unused lines of code.

diff --git a/app/assets/javascripts/discourse/initializers/subscribe-user-notifications.js.es6 b/app/assets/javascripts/discourse/initializers/subscribe-user-notifications.js.es6
index 321d5e6..3730e58 100644
--- a/app/assets/javascripts/discourse/initializers/subscribe-user-notifications.js.es6
+++ b/app/assets/javascripts/discourse/initializers/subscribe-user-notifications.js.es6
@@ -23,9 +23,6 @@ export default {
     if (user) {
       bus.subscribe("/reviewable_counts", data => {
         user.set("reviewable_count", data.reviewable_count);
-        if (data.reviewable_count > 0) {
-          user.set("show_reviewables", 1);
-        }
       });
       bus.subscribe(
         `/notification/${user.get("id")}`,

GitHub sha: ba3cf710

@eviltrout can you review this in case you had some plans here?

1 Like

It does look like a mistake, thanks @tgxworld

3 Likes