Don't show sad face when version checks have not been done yet

This commit is contained in:
Neil Lalonde 2013-04-18 11:45:10 -04:00
parent 4bd4e4e1c7
commit eca35b9079

View File

@ -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() {