mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
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({
|
Discourse.VersionCheck = Discourse.Model.extend({
|
||||||
upToDate: function() {
|
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'),
|
}.property('missing_versions_count'),
|
||||||
|
|
||||||
behindByOneVersion: function() {
|
behindByOneVersion: function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user