From b626e4b9ea21b35637e8b2face1970065356ce36 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Thu, 5 May 2016 16:45:00 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9D2016-05-05=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/page.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'));