From 044dc853589197d2bc323c816045fd9c66cb771c Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Tue, 4 Oct 2022 13:37:25 +0800 Subject: [PATCH] DEV: Remove broken line of code (#18465) The router service isn't even injected so the code is not used and broken. --- .../discourse/app/controllers/user-private-messages.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/controllers/user-private-messages.js b/app/assets/javascripts/discourse/app/controllers/user-private-messages.js index 4b9e10fa474..6e598d6fa01 100644 --- a/app/assets/javascripts/discourse/app/controllers/user-private-messages.js +++ b/app/assets/javascripts/discourse/app/controllers/user-private-messages.js @@ -18,7 +18,6 @@ export default Controller.extend({ isPersonal: equal("pmView", "user"), group: null, groupFilter: alias("group.name"), - currentPath: alias("router._router.currentPath"), currentRouteName: readOnly("router.currentRouteName"), pmTaggingEnabled: alias("site.can_tag_pms"), tagId: null,