mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
new props for org profile
This commit is contained in:
parent
1c5f208ef1
commit
ea82925e14
@ -123,7 +123,10 @@ angular
|
||||
key: profile.Organizations[i].Key,
|
||||
status: profile.Organizations[i].Status,
|
||||
type: profile.Organizations[i].Type,
|
||||
enabled: profile.Organizations[i].Enabled
|
||||
enabled: profile.Organizations[i].Enabled,
|
||||
maxCollections: profile.Organizations[i].MaxCollections,
|
||||
seats: profile.Organizations[i].Seats,
|
||||
useGroups: profile.Organizations[i].UseGroups
|
||||
};
|
||||
}
|
||||
|
||||
@ -151,7 +154,10 @@ angular
|
||||
key: keyCt,
|
||||
status: 2, // 2 = Confirmed
|
||||
type: 0, // 0 = Owner
|
||||
enabled: true
|
||||
enabled: true,
|
||||
maxCollections: org.MaxCollections,
|
||||
seats: org.Seats,
|
||||
useGroups: org.UseGroups
|
||||
};
|
||||
profile.organizations[o.id] = o;
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li ng-class="{active: $state.is('backend.org.groups')}">
|
||||
<li ng-class="{active: $state.is('backend.org.groups')}" ng-if="orgProfile.useGroups">
|
||||
<a ui-sref="backend.org.groups({orgId: params.orgId})">
|
||||
<i class="fa fa-sitemap fa-fw"></i> <span>Groups</span>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user