diff --git a/app/assets/javascripts/discourse/app/components/software-update-prompt.js b/app/assets/javascripts/discourse/app/components/software-update-prompt.js index 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