diff --git a/app/assets/javascripts/admin/models/version_check.js b/app/assets/javascripts/admin/models/version_check.js index 2f9b0e67f48..d95bf2c6d27 100644 --- a/app/assets/javascripts/admin/models/version_check.js +++ b/app/assets/javascripts/admin/models/version_check.js @@ -8,7 +8,8 @@ **/ Discourse.VersionCheck = Discourse.Model.extend({ upToDate: function() { - return this.get('missing_versions_count') === 0; + console.log(this); + return this.get('missing_versions_count') === 0 || this.get('missing_versions_count') === null; }.property('missing_versions_count'), behindByOneVersion: function() {