Fixing a bug in the GPX importer library (#19)
This commit is contained in:
1 parent
e2346141b5
commit
062288ebdc
1 file changed
+4
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user