mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	undefined condition added
This commit is contained in:
		| @@ -163,14 +163,14 @@ export default { | ||||
|             return this.person.gender === 'woman' ? 'person.gender.woman' : this.person.gender === 'man' ? 'person.gender.man' : 'person.gender.neuter'; | ||||
|         }, | ||||
|         birthdate: function(){ | ||||
|             if(this.person.birthdate !== null){ | ||||
|             if(this.person.birthdate !== null || this.person.birthdate === "undefined"){ | ||||
|             return new Date(this.person.birthdate.datetime); | ||||
|             } else { | ||||
|                 return ""; | ||||
|             } | ||||
|         }, | ||||
|         deathdate: function(){ | ||||
|             if(this.person.deathdate !== null){ | ||||
|             if(this.person.deathdate !== null || this.person.birthdate === "undefined"){ | ||||
|                return new Date(this.person.deathdate.datetime); | ||||
|             } else { | ||||
|                 return ""; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user