”2016-05-05”

This commit is contained in:
Martin Donnelly 2016-05-05 16:45:00 +01:00
parent 2dcf8c9834
commit b626e4b9ea

View File

@ -26,13 +26,13 @@ export default DS.Model.extend({
return !((Ember.isBlank(this.get('link1Text'))) || (Ember.isBlank(this.get('link1Url')))); return !((Ember.isBlank(this.get('link1Text'))) || (Ember.isBlank(this.get('link1Url'))));
}.property('link1Url','link1Text'), }.property('link1Url','link1Text'),
visibleLink2: function() { 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'), }.property('link2Url','link2Text'),
visibleLink3: function() { 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'), }.property('link3Url','link3Text'),
visibleLink4: function() { 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'), }.property('link4Url','link4Text'),
noImage: function() { noImage: function() {
return Ember.isBlank(this.get('imageUrl')); return Ember.isBlank(this.get('imageUrl'));