mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
check if member has subscription access before showing subscription modal (#11794)
This commit is contained in:
@@ -486,7 +486,7 @@ export class MembersComponent extends BaseMembersComponent<OrganizationUserView>
|
|||||||
const enableUpgradePasswordManagerSub = await firstValueFrom(
|
const enableUpgradePasswordManagerSub = await firstValueFrom(
|
||||||
this.enableUpgradePasswordManagerSub$,
|
this.enableUpgradePasswordManagerSub$,
|
||||||
);
|
);
|
||||||
if (enableUpgradePasswordManagerSub) {
|
if (enableUpgradePasswordManagerSub && this.organization.canEditSubscription) {
|
||||||
const reference = openChangePlanDialog(this.dialogService, {
|
const reference = openChangePlanDialog(this.dialogService, {
|
||||||
data: {
|
data: {
|
||||||
organizationId: this.organization.id,
|
organizationId: this.organization.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user