mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
check status and types for org management
This commit is contained in:
@@ -23,9 +23,16 @@
|
||||
if (user.Organizations) {
|
||||
var orgs = [];
|
||||
for (var i = 0; i < user.Organizations.length; i++) {
|
||||
// Only confirmed
|
||||
if (user.Organizations[i].Status !== 2) {
|
||||
continue;
|
||||
}
|
||||
|
||||
orgs.push({
|
||||
id: user.Organizations[i].Id,
|
||||
name: user.Organizations[i].Name
|
||||
name: user.Organizations[i].Name,
|
||||
status: user.Organizations[i].Status,
|
||||
type: user.Organizations[i].Type
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user