mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +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(
|
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user