mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
check if member has subscription access before showing subscription modal (#11794)
This commit is contained in:
parent
cd79457349
commit
527f48f78f
@ -486,7 +486,7 @@ export class MembersComponent extends BaseMembersComponent<OrganizationUserView>
|
||||
const enableUpgradePasswordManagerSub = await firstValueFrom(
|
||||
this.enableUpgradePasswordManagerSub$,
|
||||
);
|
||||
if (enableUpgradePasswordManagerSub) {
|
||||
if (enableUpgradePasswordManagerSub && this.organization.canEditSubscription) {
|
||||
const reference = openChangePlanDialog(this.dialogService, {
|
||||
data: {
|
||||
organizationId: this.organization.id,
|
||||
|
Loading…
Reference in New Issue
Block a user