load icons, nests and states
show the first nest on the map <3 <3 <3
This commit is contained in:
+1
-3
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user