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

This commit is contained in:
vdv committed 2022-10-03 15:37:10 +02:00
1 parent e2346141b5
commit 062288ebdc
1 file changed
+3 -1
+3 -1
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);
} }
} }
}