load icons, nests and states

show the first nest on the map <3 <3 <3
This commit is contained in:
Torben Indorf
2020-02-11 21:55:54 +01:00
parent 3770a4111a
commit 6fe11728eb
11 changed files with 243 additions and 9 deletions
+1 -3
View File
@@ -11,9 +11,7 @@ export class Area {
Object.assign(this, data);
if (data.users) {
data.users.map((userData: any) => {
this.users.push(new User(userData));
});
this.users = data.users.map((userData: any) => new User(userData));
}
}
}