mirror of
https://gitlab.silvrtree.co.uk/martind2000/project.git
synced 2025-01-10 20:55:07 +00:00
”2016-05-05”
This commit is contained in:
parent
2dcf8c9834
commit
b626e4b9ea
@ -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'));
|
||||||
|
Loading…
Reference in New Issue
Block a user