A platform for community discussion. Free, open, simple.
DEV: Remove deprecated showFooter usage in reactions routes (#36720)
Régis Hanol870ddc956c9c
diff --git a/plugins/discourse-reactions/assets/javascripts/discourse/controllers/user-activity/reactions.js b/plugins/discourse-reactions/assets/javascripts/discourse/controllers/user-activity/reactions.jsindex 5791d7748eb..a36dc0f5254 100644--- a/plugins/discourse-reactions/assets/javascripts/discourse/controllers/user-activity/reactions.js+++ b/plugins/discourse-reactions/assets/javascripts/discourse/controllers/user-activity/reactions.js@@ -1,5 +1,5 @@import { tracked } from "@glimmer/tracking";-import Controller, { inject as controller } from "@ember/controller";+import Controller from "@ember/controller";import { action } from "@ember/object";import { service } from "@ember/service";import { addUniqueValuesToArray } from "discourse/lib/array-tools";@@ -7,7 +7,6 @@ import CustomReaction from "../../models/discourse-reactions-custom-reaction";export default class UserActivityReactions extends Controller {@service siteSettings;- @controller application;@tracked canLoadMore = true;@tracked loading = false;diff --git a/plugins/discourse-reactions/assets/javascripts/discourse/routes/user-notifications/reactions-received.js b/plugins/discourse-reactions/assets/javascripts/discourse/routes/user-notifications/reactions-received.jsindex 3f73d97555f..2e1ca183de6 100644--- a/plugins/discourse-reactions/assets/javascripts/discourse/routes/user-notifications/reactions-received.js+++ b/plugins/discourse-reactions/assets/javascripts/discourse/routes/user-notifications/reactions-received.js@@ -39,7 +39,5 @@ export default class UserNotificationsReactionsReceived extends DiscourseRoute {actingUsername: controller.acting_username,includeLikes: controller.include_likes,});-- this.controllerFor("application").set("showFooter", loadedAll);}}