A platform for community discussion. Free, open, simple.
FIX: Ensure software-update banner is only shown after 24 hours (#12634)
David Taylor9c78bb26d70a
diff --git a/app/assets/javascripts/discourse/app/components/software-update-prompt.js b/app/assets/javascripts/discourse/app/components/software-update-prompt.jsindex 39831fce180..0de3b1e7f2d 100644--- a/app/assets/javascripts/discourse/app/components/software-update-prompt.js+++ b/app/assets/javascripts/discourse/app/components/software-update-prompt.js@@ -43,7 +43,7 @@ export default Component.extend({}if (!this._timeoutHandler && this.session.requiresRefresh) {- if (isTesting) {+ if (isTesting()) {this.set("showPrompt", true);} else {// Since we can do this transparently for people browsing the forum