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
+5 -3
+5 -3
View File
@@ -3,7 +3,9 @@ import Link from './link';
export default class Person {
constructor(object) {
this.name = object.name;
this.email = object.emil;
this.link = new Link(object.link);
this.email = object.email;
if (object.link) {
this.link = new Link(object.link);
}
}
}
}