mirror of
https://github.com/bitwarden/web
synced 2025-12-16 16:23:31 +00:00
check status and types for org management
This commit is contained in:
@@ -99,7 +99,8 @@ angular
|
||||
id: profile.Organizations[i].Id,
|
||||
name: profile.Organizations[i].Name,
|
||||
key: profile.Organizations[i].Key,
|
||||
status: profile.Organizations[i].Status
|
||||
status: profile.Organizations[i].Status,
|
||||
type: profile.Organizations[i].Type
|
||||
});
|
||||
}
|
||||
|
||||
@@ -125,12 +126,13 @@ angular
|
||||
id: org.Id,
|
||||
name: org.Name,
|
||||
key: org.Key,
|
||||
status: org.Status
|
||||
status: 2, // 2 = Confirmed
|
||||
type: 0 // 0 = Owner
|
||||
};
|
||||
profile.organizations.push(o);
|
||||
|
||||
_userProfile = profile;
|
||||
cryptoService.addOrgKey(o);
|
||||
cryptoService.addOrgKey(o.id, o.key);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user