- Profiles service mapping

This commit is contained in:
2018-05-29 01:11:27 -04:00
parent 73f456ed00
commit 709caf208a

View File

@@ -55,7 +55,7 @@ export class ProfileService {
data => {
this.profiles = {};
this.profiles[type] = data;
this.profiles.reduce((map, profile, i) => {
this.profiles[type].reduce((map, profile, i) => {
map[profile._id] = i;
return map;
}, this.idMap[type]);