Don't show sad face when version checks have not been done yet
This commit is contained in:
parent
4bd4e4e1c7
commit
eca35b9079
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue