diff --git a/app/models/page.js b/app/models/page.js index b93a371..240b434 100644 --- a/app/models/page.js +++ b/app/models/page.js @@ -26,13 +26,13 @@ export default DS.Model.extend({ return !((Ember.isBlank(this.get('link1Text'))) || (Ember.isBlank(this.get('link1Url')))); }.property('link1Url','link1Text'), visibleLink2: function() { - return !((Ember.isBlank(this.get('link2Text'))) && (Ember.isBlank(this.get('link2Url')))); + return !((Ember.isBlank(this.get('link2Text'))) || (Ember.isBlank(this.get('link2Url')))); }.property('link2Url','link2Text'), visibleLink3: function() { - return !((Ember.isBlank(this.get('link3Text'))) && (Ember.isBlank(this.get('link3Url')))); + return !((Ember.isBlank(this.get('link3Text'))) || (Ember.isBlank(this.get('link3Url')))); }.property('link3Url','link3Text'), visibleLink4: function() { - return !((Ember.isBlank(this.get('link4Text'))) && (Ember.isBlank(this.get('link4Url')))); + return !((Ember.isBlank(this.get('link4Text'))) || (Ember.isBlank(this.get('link4Url')))); }.property('link4Url','link4Text'), noImage: function() { return Ember.isBlank(this.get('imageUrl'));