mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
Fixed name for product tier to match property sent from the server (#9746)
This commit is contained in:
@@ -104,7 +104,7 @@ export class OrganizationData {
|
|||||||
this.providerType = response.providerType;
|
this.providerType = response.providerType;
|
||||||
this.familySponsorshipFriendlyName = response.familySponsorshipFriendlyName;
|
this.familySponsorshipFriendlyName = response.familySponsorshipFriendlyName;
|
||||||
this.familySponsorshipAvailable = response.familySponsorshipAvailable;
|
this.familySponsorshipAvailable = response.familySponsorshipAvailable;
|
||||||
this.productTierType = response.planProductType;
|
this.productTierType = response.productTierType;
|
||||||
this.keyConnectorEnabled = response.keyConnectorEnabled;
|
this.keyConnectorEnabled = response.keyConnectorEnabled;
|
||||||
this.keyConnectorUrl = response.keyConnectorUrl;
|
this.keyConnectorUrl = response.keyConnectorUrl;
|
||||||
this.familySponsorshipLastSyncDate = response.familySponsorshipLastSyncDate;
|
this.familySponsorshipLastSyncDate = response.familySponsorshipLastSyncDate;
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
|
|||||||
providerType?: ProviderType;
|
providerType?: ProviderType;
|
||||||
familySponsorshipFriendlyName: string;
|
familySponsorshipFriendlyName: string;
|
||||||
familySponsorshipAvailable: boolean;
|
familySponsorshipAvailable: boolean;
|
||||||
planProductType: ProductTierType;
|
productTierType: ProductTierType;
|
||||||
keyConnectorEnabled: boolean;
|
keyConnectorEnabled: boolean;
|
||||||
keyConnectorUrl: string;
|
keyConnectorUrl: string;
|
||||||
familySponsorshipLastSyncDate?: Date;
|
familySponsorshipLastSyncDate?: Date;
|
||||||
@@ -93,7 +93,7 @@ export class ProfileOrganizationResponse extends BaseResponse {
|
|||||||
this.providerType = this.getResponseProperty("ProviderType");
|
this.providerType = this.getResponseProperty("ProviderType");
|
||||||
this.familySponsorshipFriendlyName = this.getResponseProperty("FamilySponsorshipFriendlyName");
|
this.familySponsorshipFriendlyName = this.getResponseProperty("FamilySponsorshipFriendlyName");
|
||||||
this.familySponsorshipAvailable = this.getResponseProperty("FamilySponsorshipAvailable");
|
this.familySponsorshipAvailable = this.getResponseProperty("FamilySponsorshipAvailable");
|
||||||
this.planProductType = this.getResponseProperty("PlanProductType");
|
this.productTierType = this.getResponseProperty("ProductTierType");
|
||||||
this.keyConnectorEnabled = this.getResponseProperty("KeyConnectorEnabled") ?? false;
|
this.keyConnectorEnabled = this.getResponseProperty("KeyConnectorEnabled") ?? false;
|
||||||
this.keyConnectorUrl = this.getResponseProperty("KeyConnectorUrl");
|
this.keyConnectorUrl = this.getResponseProperty("KeyConnectorUrl");
|
||||||
const familySponsorshipLastSyncDateString = this.getResponseProperty(
|
const familySponsorshipLastSyncDateString = this.getResponseProperty(
|
||||||
|
|||||||
Reference in New Issue
Block a user