A platform for community discussion. Free, open, simple.
FIX: use getter for `showPoweredBy` (#26419)
Kris2d6051a5d5d2
diff --git a/app/assets/javascripts/discourse/app/controllers/application.js b/app/assets/javascripts/discourse/app/controllers/application.jsindex 4f94116e354..0a9b0e901dd 100644--- a/app/assets/javascripts/discourse/app/controllers/application.js+++ b/app/assets/javascripts/discourse/app/controllers/application.js@@ -35,6 +35,10 @@ export default Controller.extend({this.footer.showFooter = value;},+ get showPoweredBy() {+ return this.showFooter && this.siteSettings.enable_powered_by_discourse;+ },+@discourseComputedcanSignUp() {return (@@ -59,11 +63,6 @@ export default Controller.extend({return this.capabilities.isAppWebview || this.capabilities.isiOSPWA;},- @discourseComputed- showPoweredBy() {- return this.showFooter && this.siteSettings.enable_powered_by_discourse;- },-_mainOutletAnimate() {document.body.classList.remove("sidebar-animate");},