Fixing a bug in the GPX importer library (#19)
This commit is contained in:
parent
e2346141b5
commit
062288ebdc
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue