Fixing a bug in the GPX importer library (#19)

This commit is contained in:
Eric van der Vlist 2022-10-03 15:37:10 +02:00
parent e2346141b5
commit 062288ebdc
1 changed files with 5 additions and 3 deletions

View File

@ -3,7 +3,9 @@ import Link from './link';
export default class Person { export default class Person {
constructor(object) { constructor(object) {
this.name = object.name; this.name = object.name;
this.email = object.emil; this.email = object.email;
if (object.link) {
this.link = new Link(object.link); this.link = new Link(object.link);
} }
} }
}